<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sicdb.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Salkin</id>
	<title>SICDB Doc - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.sicdb.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Salkin"/>
	<link rel="alternate" type="text/html" href="https://www.sicdb.com/Documentation/Special:Contributions/Salkin"/>
	<updated>2026-04-28T12:40:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=386</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=386"/>
		<updated>2024-07-12T05:44:32Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Version Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.8 (07/2024) ===&lt;br /&gt;
* Added LOINC codes to laboratory references&lt;br /&gt;
&lt;br /&gt;
=== 1.0.7 (04/2024) ===&lt;br /&gt;
* Added field `cases`.`HospitalDischargeDay` `HospitalStayDays` representing the day of release from hospital after admission and the full lenght of hospital stay, respectively.&lt;br /&gt;
* Added field `cases`.`AdmissionUrgency`, depicting the urgency of admission&lt;br /&gt;
* Added High Flow (HFNC) therapy data&lt;br /&gt;
* Added Richmond Agitation-Sedation Scale (RASS) score&lt;br /&gt;
* Added Numeric Rating Scale (NRS-11) &lt;br /&gt;
* Added SOFA Score&lt;br /&gt;
* Removed 36 invalid cases&lt;br /&gt;
* Recalculated field `cases`.`OffsetAfterFirstAdmission`, fixing an issue that occasionally led to inadequate values&lt;br /&gt;
&lt;br /&gt;
=== 1.0.6 (05/2023) ===&lt;br /&gt;
&lt;br /&gt;
* [Important] Update a major error at the heart rate signal (invalid mapping of ecg signal)&lt;br /&gt;
* [Important] Renamed heart rate signals&lt;br /&gt;
* [Important] Updated some (~150) invalid weight/height signals&lt;br /&gt;
* [Fix] Due to a change in table structure the Premedication_ fields missed reference id, fixed&lt;br /&gt;
* Added KDIGO_AKI_168 and published algorithm (note: in general be careful with using urine output KDIGO in automated datasets)&lt;br /&gt;
* Added field ICUOffset for better comparability with other ICU datasets&lt;br /&gt;
* Added more signal data&lt;br /&gt;
* Corrected a small issue in the norepinephrine per kg algorithm (change is not significant)&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=385</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=385"/>
		<updated>2024-07-12T05:42:21Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays and out of hospital mortality. As it refers to a 1-year mortality it is set to null if death occurred more than one year after admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| ICUOffset || Integer || Time of actual ICU admission || SICdb includes preceding surgery if applicable, this field indicates the first transfer to an intensive or intermediate care ward&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeDay || Integer || The day of hospital discharge after admission || Note that this data is only available in days&lt;br /&gt;
|-&lt;br /&gt;
| HospitalStayDays || Integer || Days stayed in hospital for this case, including pre icu. || &lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| EstimatedSurvivalObservationTime || Reference || Estimation of oversation time, either 1-year or 6-month|| &lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=384</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=384"/>
		<updated>2024-07-12T05:41:29Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 41 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.8, includes data from more than 27,350 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online , and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_References&amp;diff=383</id>
		<title>Data Description References</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_References&amp;diff=383"/>
		<updated>2024-07-12T05:41:00Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The d_references table contains information on all encoded data fields of the SICdb dataset. Each field, that has &amp;quot;Reference&amp;quot; as field type, is associated with the ReferenceGlobalID in the d_references table. Additionally ReferenceUnit describes the unit of measurement used for this field. Refer to chapter [[SQL Examples]] to learn how to easily use this table in relational databases.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+  d_references.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| ReferenceGlobalID || Integer ||  The unique ID for the reference || Use this identifier as dictionary for alle encoded fields&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceValue || Text || Reference value || i.e. &amp;quot;Creatinine&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceName || Text || The name of the reference || i.e. &amp;quot;Laboratory&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceUnit || Text || The unit of this item if applicable || i.e. &amp;quot;mg/dl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| LOINC_code || Text || LOINC Code || &lt;br /&gt;
|-&lt;br /&gt;
| LOINC_short || Text || LOINC SHORTNAME || &lt;br /&gt;
|-&lt;br /&gt;
| LOINC_long || Text || LOINC LONG_COMMON_NAME || &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_References&amp;diff=382</id>
		<title>Data Description References</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_References&amp;diff=382"/>
		<updated>2024-07-12T05:39:48Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The d_references table contains information on all encoded data fields of the SICdb dataset. Each field, that has &amp;quot;Reference&amp;quot; as field type, is associated with the ReferenceGlobalID in the d_references table. Additionally ReferenceUnit describes the unit of measurement used for this field. Refer to chapter [[SQL Examples]] to learn how to easily use this table in relational databases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+  d_references.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| ReferenceGlobalID || Integer ||  The unique ID for the reference || Use this identifier as dictionary for alle encoded fields&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceValue || Text || Reference value || i.e. &amp;quot;Creatinine&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceName || Text || The name of the reference || i.e. &amp;quot;Laboratory&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ReferenceUnit || Text || The unit of this item if applicable || i.e. &amp;quot;mg/dl&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| LOINC_code || Text || LOINC Code || &lt;br /&gt;
|-&lt;br /&gt;
| LOINC_short || Text || LOINC SHORTNAME || &lt;br /&gt;
|-&lt;br /&gt;
| LOINC_long || Text || LOINC LONG_COMMON_NAME || &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=381</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=381"/>
		<updated>2024-04-05T08:53:01Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Version Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.7 (04/2024) ===&lt;br /&gt;
* Added field `cases`.`HospitalDischargeDay` `HospitalStayDays` representing the day of release from hospital after admission and the full lenght of hospital stay, respectively.&lt;br /&gt;
* Added field `cases`.`AdmissionUrgency`, depicting the urgency of admission&lt;br /&gt;
* Added High Flow (HFNC) therapy data&lt;br /&gt;
* Added Richmond Agitation-Sedation Scale (RASS) score&lt;br /&gt;
* Added Numeric Rating Scale (NRS-11) &lt;br /&gt;
* Added SOFA Score&lt;br /&gt;
* Removed 36 invalid cases&lt;br /&gt;
* Recalculated field `cases`.`OffsetAfterFirstAdmission`, fixing an issue that occasionally led to inadequate values&lt;br /&gt;
&lt;br /&gt;
=== 1.0.6 (05/2023) ===&lt;br /&gt;
&lt;br /&gt;
* [Important] Update a major error at the heart rate signal (invalid mapping of ecg signal)&lt;br /&gt;
* [Important] Renamed heart rate signals&lt;br /&gt;
* [Important] Updated some (~150) invalid weight/height signals&lt;br /&gt;
* [Fix] Due to a change in table structure the Premedication_ fields missed reference id, fixed&lt;br /&gt;
* Added KDIGO_AKI_168 and published algorithm (note: in general be careful with using urine output KDIGO in automated datasets)&lt;br /&gt;
* Added field ICUOffset for better comparability with other ICU datasets&lt;br /&gt;
* Added more signal data&lt;br /&gt;
* Corrected a small issue in the norepinephrine per kg algorithm (change is not significant)&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Get_Started&amp;diff=380</id>
		<title>Get Started</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Get_Started&amp;diff=380"/>
		<updated>2024-04-05T08:51:04Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
{{Beta Version}}&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset is provided in compressed .csv files, the minute values are even more consolidated. Refer to the [[File List]] for detailed description of files. &lt;br /&gt;
&lt;br /&gt;
The SICdb dataset contains billions of entries, therefore building up a database may present a challenge. &lt;br /&gt;
&lt;br /&gt;
== Usage Examples ==&lt;br /&gt;
&lt;br /&gt;
Scripting or Database Query examples for using SICdb are found at https://github.com/nrodemund/sicdb/tree/main/Examples&lt;br /&gt;
&lt;br /&gt;
== Relational Database Import ==&lt;br /&gt;
&lt;br /&gt;
Refer to https://github.com/nrodemund/sicdb/tree/main/Import for some scripts for importing the dataset into a relational database system.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=379</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=379"/>
		<updated>2024-04-05T08:33:30Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays and out of hospital mortality. As it refers to a 1-year mortality it is set to null if death occurred more than one year after admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| ICUOffset || Integer || Time of actual ICU admission || SICdb includes preceding surgery if applicable, this field indicates the first transfer to an intensive or intermediate care ward&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeDay || Integer || The day of hospital discharge after admission || Note that this data is only available in days&lt;br /&gt;
|-&lt;br /&gt;
| HospitalStayDays || Integer || Days stayed in hospital for this case, including pre icu. || &lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| EstimatedSurvivalObservationTime || Reference || Estimation of oversation time, either 1-year or 6-month|| &lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2* ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Case_Description&amp;diff=378</id>
		<title>Case Description</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Case_Description&amp;diff=378"/>
		<updated>2024-04-05T08:30:36Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Case Selection ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset contains all admissions to metavision, that were treated on an intensive care unit. This includes patients that are admitted post-surgery as well as internal medicine cases. Note that non-surgical reasons for admission are highly underrepresentated in this dataset because most internal medicine patients are treated on a unit not using an electric PDMS. &lt;br /&gt;
&lt;br /&gt;
All admissions to participating intensiv care units are included, as long as following conditions do not apply:&lt;br /&gt;
&lt;br /&gt;
* Less the 10 minutes of Stay&lt;br /&gt;
* Missing mandatory admission data&lt;br /&gt;
* No monitor signals&lt;br /&gt;
* No medication data&lt;br /&gt;
* hospital number mismatch&lt;br /&gt;
&lt;br /&gt;
== Intensive care or intermediate care? ==&lt;br /&gt;
&lt;br /&gt;
To provide as much data as possible all patients admitted to one of our intensive or intermediate care units are included. While the associated beds have a designated care level, the patients treatment level is not defined and are treated according to their needs, they may be transferred multiply between the strongly cooperating units. In general, patients that are uniquely associated (see unitlog) to INIC or INID did not receive high level intensive care treatment. Please note that the field cases.HospitalUnit gives no information about the level of intensive care a patient received. We may provide a preprocessed field in future versions of the SICdb dataset concerning the level of treatment.&lt;br /&gt;
&lt;br /&gt;
== Unit Description ==&lt;br /&gt;
&lt;br /&gt;
The participating metavision enabled wards are CWIN, INBD, INIC, and INIC. INCV and CWCV are used for cases associated with SARS-COV-2, this includes SARS-COV-2 ARDS and patients with coincidental positive test and other cause of intensive care. CWIN and INBD, INCV and CWCVC are high level intensive care units. INIC and INID are lower level of care and do not provide invasive mechanical ventilation (NIV possible on INID, HFNC on all wards), CRRT or ECMO. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Validation ==&lt;br /&gt;
&lt;br /&gt;
All cases are cross-matched with a second database. In case of unsuccessful matching, cases were excluded, as these refer to entries for testing and demo.  &lt;br /&gt;
&lt;br /&gt;
The dataset is in constant development. Feel free to contact us when you find a significant amount of invalid data.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=377</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=377"/>
		<updated>2024-04-05T08:30:08Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 41 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.7, includes data from more than 27,350 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online , and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=376</id>
		<title>Template:Beta Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=376"/>
		<updated>2024-04-05T08:29:29Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding:10px;margin:10px;box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;background-color:#d9fffa&amp;quot;&amp;gt;&lt;br /&gt;
SICdb dataset and the documentation, as of 04/24, in active development. We try to improve our project as fast as we can! Please contact us for every problem with data or software you find! We'd love to find some motivated researchers attain as much as possible from our dataset. [[Contact us]] if you face any issues!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=375</id>
		<title>Template:Beta Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=375"/>
		<updated>2024-04-05T05:56:30Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding:10px;margin:10px;box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;background-color:#d9fffa&amp;quot;&amp;gt;&lt;br /&gt;
SICdb dataset, the documentation and our [[Software Description|Software Package]] are, as of 04/24, in active development. We try to improve our project as fast as we can! Please contact us for every problem with data or software you find! We'd love to find some motivated researchers attain as much as possible from our dataset. [[Contact us]] if you face any issues!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Medication&amp;diff=374</id>
		<title>Data Description Medication</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Medication&amp;diff=374"/>
		<updated>2023-09-18T08:37:33Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Contains all medication given during stay. Additional data like name and unit of measurement is found in d_references, where medication.DrugID is associated to d_references.ReferenceGlobalID. Metavision does not differ between continuous or single doses in rangesignals, so a single dose is set to 60 second admission time. Each change of a continuous application will end the current entry and create a new one. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ medication.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| id || Integer || Primary Key || &lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer || Case identifier || &lt;br /&gt;
|- &lt;br /&gt;
| DrugID || Reference ||  || &lt;br /&gt;
|- &lt;br /&gt;
| Offset || Integer || Time in seconds after admission || &lt;br /&gt;
|- &lt;br /&gt;
| OffsetDrugEnd || Integer || If drug was given continuously refers to end of application. Field is set to 60 seconds on bolus application. || &lt;br /&gt;
|- &lt;br /&gt;
| IsSingleDose || Integer || Set to 1 when given as bolus. || &lt;br /&gt;
|- &lt;br /&gt;
| Amount || Float || Full amount given regardless of time || Unity of measurement found in d_references&lt;br /&gt;
|- &lt;br /&gt;
| AmountPerMinute || Float || Dosage per minute || Unity of measurement found in d_references&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Offsetable&amp;diff=373</id>
		<title>Offsetable</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Offsetable&amp;diff=373"/>
		<updated>2023-09-18T08:18:41Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A field featuring customizable offsets empowers you to apply temporal filters, with 0 signifying the initial moment of admission. If your intention is to refer to the first second of ICU admission instead of PDMS admission, make use of ICUOffset. In this context, the first value greater than or equal to ICUOffset corresponds to the initial value within the ICU dataset.&lt;br /&gt;
&lt;br /&gt;
== Offset Types ==&lt;br /&gt;
&lt;br /&gt;
* After Admission &lt;br /&gt;
* After (&amp;gt;=)&lt;br /&gt;
* Before (&amp;lt;)&lt;br /&gt;
* Between (&amp;gt;= X and &amp;lt; Y)&lt;br /&gt;
&lt;br /&gt;
== Offset  Value ==&lt;br /&gt;
&lt;br /&gt;
The offset value can be one of the following:&lt;br /&gt;
&lt;br /&gt;
* A number (time in seconds from ICU admission)&lt;br /&gt;
* A number and a time identifier, like &amp;quot;d&amp;quot; (days) or &amp;quot;h&amp;quot; (hours)&lt;br /&gt;
** &amp;quot;3d&amp;quot; will be the first second of the third day&lt;br /&gt;
* A field identifier, an &amp;quot;f&amp;quot; followed by field index&lt;br /&gt;
** f2 will be the third field of query  &lt;br /&gt;
** (this is used to define a timespan after a offset, like last laboratory before first erythrozyte application)&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Offsetable&amp;diff=372</id>
		<title>Offsetable</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Offsetable&amp;diff=372"/>
		<updated>2023-09-18T08:15:34Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An offsetable field can be filtered for a specific period of time, where 0 is the first second of admission.&lt;br /&gt;
&lt;br /&gt;
== Offset Types ==&lt;br /&gt;
&lt;br /&gt;
* After Admission &lt;br /&gt;
* After (&amp;gt;=)&lt;br /&gt;
* Before (&amp;lt;)&lt;br /&gt;
* Between (&amp;gt;= X and &amp;lt; Y)&lt;br /&gt;
&lt;br /&gt;
== Offset  Value ==&lt;br /&gt;
&lt;br /&gt;
The offset value can be one of the following:&lt;br /&gt;
&lt;br /&gt;
* A number (time in seconds from ICU admission)&lt;br /&gt;
* A number and a time identifier, like &amp;quot;d&amp;quot; (days) or &amp;quot;h&amp;quot; (hours)&lt;br /&gt;
** &amp;quot;3d&amp;quot; will be the first second of the third day&lt;br /&gt;
* A field identifier, an &amp;quot;f&amp;quot; followed by field index&lt;br /&gt;
** f2 will be the third field of query  &lt;br /&gt;
** (this is used to define a timespan after a offset, like last laboratory before first erythrozyte application)&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Deserialize_Raw_Data&amp;diff=371</id>
		<title>Deserialize Raw Data</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Deserialize_Raw_Data&amp;diff=371"/>
		<updated>2023-06-21T12:59:09Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Why is this data serialized? ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;===Why is this data serialized? ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intermediate data, where minute values are not aggregated, has roughly about 240gb, and it is to be expected that is increases by about 15% in 2023 update. By aggregating and serializing these values the database can be compresssed to under 10gb. Nevertheless it complicates the deserialization of this data. While our software can export the minute values one-click, using it in raw data requires a bit of coding.&lt;br /&gt;
&lt;br /&gt;
Refer to chapter Full Unpack to learn how to completely unpack minute data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Encoding ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Encoding ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The raw data field is a stream of 60 little endian IEEE 754 floats, so it has exactly 240 bytes. The first 4 bytes represent the first minute of the hour and so on. Note that 0x000000 is defined to be NULL (no value).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Python example ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Python example ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  def GetRawValues(data):&lt;br /&gt;
    ret=[]&lt;br /&gt;
    for i in range(int(len(data)/4)):&lt;br /&gt;
        if (data[i*4]==0 and data[i*4+1]==0 and data[i*4+2]==0 and data[i*4+3]==0): continue # remove null values&lt;br /&gt;
        ret.append(struct.unpack('&amp;lt;f',data[i*4:i*4+4])[0])&lt;br /&gt;
    return ret&lt;br /&gt;
&lt;br /&gt;
This simple example does not include a correct offset for the values. You may check our [https://github.com/nrodemund/sicdb/tree/main/Scripts/Unpack%20raw%20data unpack script] to find an example on how to compute the offset. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== C# example ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== C# example ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        public static float?[] GetRawValues(byte[] data)&lt;br /&gt;
        {&lt;br /&gt;
            byte[] buf = new byte[4];&lt;br /&gt;
            float?[] ret = new float?[data.Length / 4];&lt;br /&gt;
            for(int i = 0; i &amp;lt; data.Length; i += 4)&lt;br /&gt;
            {&lt;br /&gt;
                buf[0] = data[i];&lt;br /&gt;
                buf[1] = data[i+1];&lt;br /&gt;
                buf[2] = data[i+2];&lt;br /&gt;
                buf[3] = data[i+3];&lt;br /&gt;
                if (buf[0] == 0 &amp;amp;&amp;amp; buf[1] == 0 &amp;amp;&amp;amp; buf[2] == 0 &amp;amp;&amp;amp; buf[3] == 0) continue; // ignore null values&lt;br /&gt;
                ret[i / 4] = BitConverter.ToSingle(buf); // note: if you are on a BigEndian machine you need to flip buf&lt;br /&gt;
            }&lt;br /&gt;
            return ret;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Full Unpack ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Full Unpack ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We provide a simple unpack python script on our [https://github.com/nrodemund/sicdb/tree/main/Scripts/Unpack%20raw%20data github code repository].&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=370</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=370"/>
		<updated>2023-05-24T15:34:30Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* 1.0.6 (05/2023) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.6 (05/2023) ===&lt;br /&gt;
&lt;br /&gt;
* [Important] Update a major error at the heart rate signal (invalid mapping of ecg signal)&lt;br /&gt;
* [Important] Renamed heart rate signals&lt;br /&gt;
* [Important] Updated some (~150) invalid weight/height signals&lt;br /&gt;
* [Fix] Due to a change in table structure the Premedication_ fields missed reference id, fixed&lt;br /&gt;
* Added KDIGO_AKI_168 and published algorithm (note: in general be careful with using urine output KDIGO in automated datasets)&lt;br /&gt;
* Added field ICUOffset for better comparability with other ICU datasets&lt;br /&gt;
* Added more signal data&lt;br /&gt;
* Corrected a small issue in the norepinephrine per kg algorithm (change is not significant)&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=369</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=369"/>
		<updated>2023-05-24T15:34:20Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.6 (05/2023) ===&lt;br /&gt;
&lt;br /&gt;
* [Important] Update a major error at the heart rate signal (invalid mapping of ecg signal)&lt;br /&gt;
* [Important] Renamed hear rate signals&lt;br /&gt;
* [Important] Updated some (~150) invalid weight/height signals&lt;br /&gt;
* [Fix] Due to a change in table structure the Premedication_ fields missed reference id, fixed&lt;br /&gt;
* Added KDIGO_AKI_168 and published algorithm (note: in general be careful with using urine output KDIGO in automated datasets)&lt;br /&gt;
* Added field ICUOffset for better comparability with other ICU datasets&lt;br /&gt;
* Added more signal data&lt;br /&gt;
* Corrected a small issue in the norepinephrine per kg algorithm (change is not significant)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=368</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=368"/>
		<updated>2023-05-24T15:33:32Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.6 (05/2023) ===&lt;br /&gt;
&lt;br /&gt;
* [Important] Update a major error at the heart rate signal (invalid mapping)&lt;br /&gt;
* [Important] Updated some (~150) invalid weight/height signals&lt;br /&gt;
* [Fix] Due to a change in table structure the Premedication_ fields missed reference id, fixed&lt;br /&gt;
* Added KDIGO_AKI_168 and published algorithm (note: in general be careful with using urine output KDIGO in automated datasets)&lt;br /&gt;
* Added field ICUOffset for better comparability with other ICU datasets&lt;br /&gt;
* Added more signal data&lt;br /&gt;
* Corrected a small issue in the norepinephrine per kg algorithm (change is not significant)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Processed_Referenced_Fields&amp;diff=367</id>
		<title>Processed Referenced Fields</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Processed_Referenced_Fields&amp;diff=367"/>
		<updated>2023-05-24T15:25:15Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Several fields have been preprocessed and added to the database. This includes peprocessed-for-convenience and preprocessed-for-anonymization elements. The data is found in data_ref.csv.gz, the text values are referenced in d_references, where d_references.ReferenceGlobalID relates to data_ref. FieldID and data_ref.RefID.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Fields&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationBetablocker  || Referenced || Yes/No &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationACEInhibitor || Referenced|| Yes/No   &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationStatin || Referenced|| Yes/No   &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationDiuretic || Referenced|| Yes/No  &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionDiabetes || Referenced|| Any type of diabetes (IDDM or NIDDM) &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionLungDisease || Referenced|| Any kind of lung severe disease (COPD, restrictive lung diseases, ...). Asthma is included when medication is taken daily  &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionArtHypertension || Referenced|| Any kind of treated or diagnosed arterial hypertension &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionRenalDysfunction|| Referenced || If stated in admission protocol (omitted due to anonymity issues)  &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=366</id>
		<title>Template:Beta Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Template:Beta_Version&amp;diff=366"/>
		<updated>2023-05-24T15:23:51Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;padding:10px;margin:10px;box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;background-color:#d9fffa&amp;quot;&amp;gt;&lt;br /&gt;
SICdb dataset, the documentation and our [[Software Description|Software Package]] are, as of 05/23, in active development. We try to improve our project as fast as we can! Please contact us for every problem with data or software you find! We'd love to find some motivated researchers attain as much as possible from our dataset. [[Contact us]] if you face any issues!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=365</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=365"/>
		<updated>2023-05-23T10:01:19Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Data Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 41 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.6, includes data from more than 27,386 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online , and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Data_Ref&amp;diff=364</id>
		<title>Data Description Data Ref</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Data_Ref&amp;diff=364"/>
		<updated>2023-05-21T15:49:39Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;data_ref.csv.gz contains referenced (nominal) data and is unique per icu admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ data_ref.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| id || Integer ||Primary Key || &lt;br /&gt;
|-&lt;br /&gt;
| CaseID || Integer || Case identifier&lt;br /&gt;
|-&lt;br /&gt;
| FieldID || Reference || Refers to the name of the field || i.e. PreconditionDiabetes&lt;br /&gt;
|-&lt;br /&gt;
| RefID || Reference || || &lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=363</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=363"/>
		<updated>2023-05-21T15:45:43Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 41 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.6, includes data from more than 27,386 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online [7], and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset [8].&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Get_Started&amp;diff=362</id>
		<title>Get Started</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Get_Started&amp;diff=362"/>
		<updated>2023-05-21T15:44:44Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Detailed Instructions (Windows) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
{{Beta Version}}&lt;br /&gt;
&lt;br /&gt;
The SICdb dataset is provided in compressed .csv files, the minute values are even more consolidated. Refer to the [[File List]] for detailed description of files. &lt;br /&gt;
&lt;br /&gt;
The SICdb dataset contains billions of entries, therefore building up a database may present a challenge. Therefore a 'as simple as possible' solution is provided. Our solution provides a fully preconfigured and fast environment to access, explore and export SICdb data. Refer to the Quick Start chapter if you know how the commandline and docker is working, skip to the Detailed Instructions for a more detailed reference.&lt;br /&gt;
&lt;br /&gt;
== Quick Start ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just like other ICU datasets SICdb is huge. Expect that your pc need a significant amount of time to process!&lt;br /&gt;
&lt;br /&gt;
The database can be built up using our [http://www.docker.com Docker] images. After install navigate into the folder containing all the data and run &amp;quot;docker compose up&amp;quot;. When the environment is running open http://localhost:5000 to install the dataset. The provided environment ist fully preconfigured, just press start and wait. Due to the vast size this may take 4-12 hours*. When install is finished the server has to be restarted, you may do this by reloading the page and then press the restart button.&lt;br /&gt;
&lt;br /&gt;
*) We work on a solution to provide a fully indexed database. Until now we have not found a legally safe way of distribution (repository).&lt;br /&gt;
&lt;br /&gt;
== Detailed Instructions (Windows)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download Metadata [https://github.com/nrodemund/sicdb]&lt;br /&gt;
* Download PhysioNet data&lt;br /&gt;
* Install [http://www.docker.com Docker]&lt;br /&gt;
* [[Open commandline]] &lt;br /&gt;
* [[Navigate to data folder]]&lt;br /&gt;
* Run &amp;quot;docker compose up&amp;quot; &lt;br /&gt;
* When command is finished wait for another 30 seconds, as the mysql server will need some time to configure&lt;br /&gt;
* Open http://localhost:5075&lt;br /&gt;
* Select install and start installation&lt;br /&gt;
&lt;br /&gt;
The installation will need some time, expect several hours. The process can be interrupted and will continue where it was stopped.&lt;br /&gt;
&lt;br /&gt;
If you need any help with installation please feel free to [[contact us]]!&lt;br /&gt;
&lt;br /&gt;
'''Note: If &amp;quot;docker compose up&amp;quot; throws any errors, open &amp;quot;Docker Desktop&amp;quot; app as administrator, navigate to &amp;quot;Containers&amp;quot; and press the play button in line &amp;quot;roodataenv&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
== Issues and Troubleshooting on Windows Systems ==&lt;br /&gt;
&lt;br /&gt;
Generally the environment should run on all common operating systems on all machines (We recommend &amp;gt;=16gb RAM and a modern multicore CPU).&lt;br /&gt;
&lt;br /&gt;
'''Note: If &amp;quot;docker compose up&amp;quot; throws any errors, open &amp;quot;Docker Desktop&amp;quot; app as administrator, navigate to &amp;quot;Containers&amp;quot; and press the play button in line &amp;quot;roodataenv&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
Feel free to [[contact us]] if the problem persists.&lt;br /&gt;
&lt;br /&gt;
There are some issues to be expected when the environment is executed on a &amp;quot;standard&amp;quot; windows machine. We recommend using default configuration (WSL2), but there are some known bugs and issues, which have not been resolved as of 11/2022. We have not faced any issues on a linux machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Installing the database will cause WSL2 to reserve 50% of your machines RAM and it will not be released automatically. It is expected that this will be patched in future, but for now, after installing the dataset, you may either close the container and run &amp;quot;wsl --shutdown&amp;quot; in admin powershell (Docker Desktop will automatically restart wsl) or restart your computer.&lt;br /&gt;
&lt;br /&gt;
* Due to a known bug in WSL2 it may be not possible to run the environment on a software-mounted drive. This can cause issues when trying to launche SICdb environment from a '''VeraCrypt/TrueCrypt''' drive. BitLocker is fully supported as far as we know.&lt;br /&gt;
* Due to a known issue concerning the way windows manages hosts it my be that SICdb environment is not reachable on localhost:5000 or does not start at all. This can be resolved by closing Docker Desktop, run as administrator and then restart engine. The restart engine button is found in the system tray (right bottom on windows machines), right click docker icon-&amp;gt;restart.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=361</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=361"/>
		<updated>2023-05-21T15:39:50Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays and out of hospital mortality. As it refers to a 1-year mortality it is set to null if death occurred more than one year after admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| ICUOffset || Integer || Time of actual ICU admission || SICdb includes preceding surgery if applicable, this field indicates the first transfer to an intensive or intermediate care ward&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| EstimatedSurvivalObservationTime || Reference || Estimation of oversation time, either 1-year or 6-month|| &lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2* ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=360</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=360"/>
		<updated>2023-05-21T15:38:14Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 41 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.4, includes data from more than 27,386 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online [7], and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset [8].&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=359</id>
		<title>Version</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Version&amp;diff=359"/>
		<updated>2023-02-05T12:10:09Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Version Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Version Information ==&lt;br /&gt;
&lt;br /&gt;
The SICDB dataset uses a versioning system. It contains 3 numbers major, minor and patch. A suffix may be added for changes, the do not necessarily needs to be applied.&lt;br /&gt;
&lt;br /&gt;
A major version change generally occurs when the database was incrementally updated and more cases are included.&lt;br /&gt;
&lt;br /&gt;
A minor version change occurs when data was altered that will likely change most study data. (i.e. removal of a significant amount of invalid cases) A minor update also applies when new data is added (i.e. a new table) but the existing data is not altered.&lt;br /&gt;
&lt;br /&gt;
A patch version change occurs when only specific data was altered and will not affect all exports. Please read changelog to check if your data is affected.&lt;br /&gt;
&lt;br /&gt;
=== 1.0.5 ===&lt;br /&gt;
&lt;br /&gt;
* Merged additional mortality data and changed OffsetOfDeath from in-hospital-mortality to general 1-year-mortality&lt;br /&gt;
* Removed or fixed 190 cases of inplausible height or weight data&lt;br /&gt;
* Added some more CRRT data&lt;br /&gt;
* Recalculated DrainageSum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== 1.0.4 ===&lt;br /&gt;
&lt;br /&gt;
* Added unity of measurements for signal data&lt;br /&gt;
* Structural changes&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=358</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=358"/>
		<updated>2023-02-05T10:17:46Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays and out of hospital mortality. As it refers to a 1-year mortality it is set to null if death occurred more than one year after admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| EstimatedSurvivalObservationTime || Reference || Estimation of oversation time, either 1-year or 6-month|| &lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2* ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Mortality&amp;diff=357</id>
		<title>Mortality</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Mortality&amp;diff=357"/>
		<updated>2023-02-05T09:35:27Z</updated>

		<summary type="html">&lt;p&gt;Salkin: Created page with &amp;quot;The &amp;quot;OffsetOfDeath&amp;quot; field denotes the elapsed time, in seconds, from admission to death, taking into account any subsequent hospital stays and out-of-hospital mortality data. The data was gathered from various sources, including government data. It is set to null if the death occurs more than one year after admission, since it is defined to 1-year mortality. For technical reasons observation time is only 6 month for some patients, field &amp;quot;EstimatedSurvivalObservationTime&amp;quot;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;OffsetOfDeath&amp;quot; field denotes the elapsed time, in seconds, from admission to death, taking into account any subsequent hospital stays and out-of-hospital mortality data. The data was gathered from various sources, including government data. It is set to null if the death occurs more than one year after admission, since it is defined to 1-year mortality. For technical reasons observation time is only 6 month for some patients, field &amp;quot;EstimatedSurvivalObservationTime&amp;quot; holds information about that. However, it is worth noting that in some cases, if a patient dies in foreign countries, the information may be scarce. Postal address validity checks were performed, but no statistically significant differences were found, indicating that this may not be an issue of concern.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=356</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=356"/>
		<updated>2023-02-05T09:25:47Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays and out of hospital mortality. As it refers to a 1-year mortality it is set to null if death occurred more than one year after admission.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2* ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=355</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=355"/>
		<updated>2023-02-05T09:24:31Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays. However, it should be noted that &amp;quot;OffsetOfDeath&amp;quot; cannot be used as long-term survival information as it is only set if the patient dies within a hospital stay.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2* ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=354</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=354"/>
		<updated>2023-02-05T09:24:04Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays. However, it should be noted that &amp;quot;OffsetOfDeath&amp;quot; cannot be used as long-term survival information as it is only set if the patient dies within a hospital stay.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{:Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=353</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=353"/>
		<updated>2023-02-05T09:23:50Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays. However, it should be noted that &amp;quot;OffsetOfDeath&amp;quot; cannot be used as long-term survival information as it is only set if the patient dies within a hospital stay.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || 1-year mortality in seconds from primary admission to death || 1 year mortality, including out-of-hospital as far as known. See {{Mortality}} for further information.&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=352</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=352"/>
		<updated>2023-01-06T09:58:02Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays. However, it should be noted that &amp;quot;OffsetOfDeath&amp;quot; cannot be used as long-term survival information as it is only set if the patient dies within a hospital stay.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || Seconds from primary admission to death || Not linked to current stay, may include normal ward and later stays&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission **|| &lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected **|| Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time **||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut **|| &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery** || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;br /&gt;
 ** These fields will be moved to data tables in version 1.1.0&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=351</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=351"/>
		<updated>2023-01-06T09:56:26Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;The &amp;quot;cases&amp;quot; table is the base table of the SICdb dataset and the &amp;quot;CaseID&amp;quot; field serves as the identifier that relates all data. Each admission to the intensive care unit generates a unique &amp;quot;CaseID.&amp;quot; To identify readmissions, a &amp;quot;PatientID&amp;quot; is provided. The &amp;quot;OffsetAfterFirstAdmission&amp;quot; field stores the time between the first admission and the current one.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;TimeOfStay&amp;quot; is the time in seconds from the admission recorded by the MetaVision system to the discharge. This time may include any preceding surgery and ends when the case is closed.&lt;br /&gt;
&lt;br /&gt;
There are three fields indicating survival: &amp;quot;DischargeState&amp;quot; indicates the patient's state upon discharge from the ICU and is taken from the MetaVision discharge form. &amp;quot;HospitalDischargeType&amp;quot; provides information on how the case was closed in the clinical information system. &amp;quot;OffsetOfDeath&amp;quot; is the time in seconds from admission to death and includes additional hospital stays. However, it should be noted that &amp;quot;OffsetOfDeath&amp;quot; cannot be used as long-term survival information as it is only set if the patient dies within a hospital stay.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || Seconds from primary admission to death || Not linked to current stay, may include normal ward and later stays&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission || Note: This field will be moved into data table soon&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected || Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time ||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=350</id>
		<title>Introduction</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Introduction&amp;diff=350"/>
		<updated>2023-01-06T09:54:07Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset provides insight to over 27 thousand intensive care admissions, including therapy and data of their preceding surgery. Data was collected between 2013 and 2021 from 4 of the intensive care units at the University Hospital Salzburg, having more than 3 thousand intensive care admissions per year on 37 beds. The dataset is deidentified and contains, amongst others, case information, laboratory, medication, monitor and respirator signal data.SICdb provides aggregated once-per-hour and highly granular once-per-minute data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dataset, version 1.0.4, includes data from more than 27,386 admissions to the Department of Anesthesiology and Intensive Care Medicine at the General Hospital Salzburg and Paracelsus Medical University.&lt;br /&gt;
&lt;br /&gt;
== Data Tables ==&lt;br /&gt;
The SICdb dataset consists of billions of data entries across 7 data tables. The main table, &amp;quot;cases,&amp;quot; contains a single entry for each intensive care admission and includes information about the patient (such as age, weight, and sex) and case details (such as diagnosis, scores, and ICD10 codes). The &amp;quot;TimeOfStay&amp;quot; field indicates the time from the first admission to a Metavision-enabled ward to the final closing of the case, including any preceding surgery. The &amp;quot;OffsetOfDeath&amp;quot; field indicates survival in seconds from admission. This data represents in-hospital mortality and may extend beyond the length of the intensive care stay or the current hospital stay. Personal data such as age, weight, and height have been grouped into bins of 5, with ages over 90 placed in the final bin.&lt;br /&gt;
&lt;br /&gt;
All other data tables are related to the &amp;quot;cases&amp;quot; table through the &amp;quot;CaseID&amp;quot; field. Most data has timing information, with the &amp;quot;offset&amp;quot; field indicating the number of seconds from admission to the time of the event. The &amp;quot;laboratory&amp;quot; table contains laboratory values and the &amp;quot;medication&amp;quot; table provides data on administered drugs. There are several generic data tables that contain data sorted by type. The &amp;quot;data_ref&amp;quot; table contains additional nominal/categorical data, one entry per admission, and the &amp;quot;data_range&amp;quot; table documents items with a start and end time, such as data on central lines or drainages. The &amp;quot;data_float_h&amp;quot; table contains float data, aggregated once per hour, and includes most signal data. To reduce table size, minute data is serialized as a stream of IEEE 754 floats in the &amp;quot;data_float_h.rawdata&amp;quot; field. For further instructions on using this data, see the documentation found in Documentation.pdf or online [7], and refer to the unpacking script example provided on our GitHub repository [8].&lt;br /&gt;
&lt;br /&gt;
== Reference Table ==&lt;br /&gt;
Nominal data is encoded, and the reference table &amp;quot;d_references&amp;quot; provides additional information about the associated field. The referenced fields in all data tables correspond to the primary key of the &amp;quot;d_references&amp;quot; table, &amp;quot;ReferenceGlobalID.&amp;quot; The &amp;quot;ReferenceValue&amp;quot; field in &amp;quot;d_references&amp;quot; gives the variable's value, and the &amp;quot;ReferenceUnit&amp;quot; field holds the unit or measurement, if applicable.&lt;br /&gt;
&lt;br /&gt;
== Data Format ==&lt;br /&gt;
GZip-compressed RFC 4180 comma-separated files are provided. The most current documentation, including table schemas, can be found online [7], and an offline copy is included in the files under the name Documentation.pdf. A GitHub repository has been created to share code, report issues, and discuss the dataset [8].&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=349</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=349"/>
		<updated>2022-12-13T08:04:55Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The cases table is the base table of the SICdb dataset, '''CaseID''' is the identifier that relationally connects all data. For each admission to our intensive care unit one CaseID is generated. To identify readmissions, a PatientID is provided. The time between the first admission and the current is stored in field OffsetAfterFirstAdmission.&lt;br /&gt;
&lt;br /&gt;
TimeOfStay is the time in seconds from Metavision admission to Metavision discharge. This time may begin with the preceding surgery, and ends when the case is closed. &lt;br /&gt;
&lt;br /&gt;
There are 3 fields indicating survival. DischargeState indicates the state of the patient on ICU discharge, this data is taken from the Metavision discharge form. HospitalDischargeType gives information about how this case was closed in the clinical information system. OffsetOfDeath is the time in seconds from admission to death. This field also takes further stays into consideration and is, opposite to DischargeState and HospitalDischargeType, not linked to the stay identifier. Take into consideration that OffsetOfDeath cannot be used as long-term survival information, because it will only be set if the patient died within a stay in hospital.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || Seconds from primary admission to death || Not linked to current stay, may include normal ward and later stays&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission || Note: This field will be moved into data table soon&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected || Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time ||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 * These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=348</id>
		<title>Data Description Cases</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Cases&amp;diff=348"/>
		<updated>2022-12-13T08:04:41Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The cases table is the base table of the SICdb dataset, '''CaseID''' is the identifier that relationally connects all data. For each admission to our intensive care unit one CaseID is generated. To identify readmissions, a PatientID is provided. The time between the first admission and the current is stored in field OffsetAfterFirstAdmission.&lt;br /&gt;
&lt;br /&gt;
TimeOfStay is the time in seconds from Metavision admission to Metavision discharge. This time may begin with the preceding surgery, and ends when the case is closed. &lt;br /&gt;
&lt;br /&gt;
There are 3 fields indicating survival. DischargeState indicates the state of the patient on ICU discharge, this data is taken from the Metavision discharge form. HospitalDischargeType gives information about how this case was closed in the clinical information system. OffsetOfDeath is the time in seconds from admission to death. This field also takes further stays into consideration and is, opposite to DischargeState and HospitalDischargeType, not linked to the stay identifier. Take into consideration that OffsetOfDeath cannot be used as long-term survival information, because it will only be set if the patient died within a stay in hospital.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ cases.csv.gz&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| CaseID || Integer ||  A randomly assigned identifier || CaseID is unique to each admission. &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||A randomly assigned identifier || PatientID is unique to each Patient, useful to identify readmission&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionYear || Integer || Year of admission || &lt;br /&gt;
|-&lt;br /&gt;
| TimeOfStay || Integer || Time of stay (seconds) || Time from primary metavision admission, to last discharge. In cases, where the patient is admitted to ward after surgery, this will include surgery time.&lt;br /&gt;
|-&lt;br /&gt;
| saps3 || Float || Simplified Acute Physiology Score III || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalDischargeType || Reference || Type of hospital discharge. || This field indicates survival.&lt;br /&gt;
|-&lt;br /&gt;
| DischargeState || Reference || Type of icu discharge || This field indicates survival on icu&lt;br /&gt;
|-&lt;br /&gt;
| DischargeUnit || Reference || Unit the patient was discharged to, as selected in Metavision discharge form ||&lt;br /&gt;
|-&lt;br /&gt;
| OffsetOfDeath || Integer || Seconds from primary admission to death || Not linked to current stay, may include normal ward and later stays&lt;br /&gt;
|-&lt;br /&gt;
| Sex ||  Reference || || &lt;br /&gt;
|-&lt;br /&gt;
| WeightOnAdmission || Float || Rounded to +-5kg || &lt;br /&gt;
|-&lt;br /&gt;
| HeightOnAdmission || Float || Rounded to +-5cm || &lt;br /&gt;
|-&lt;br /&gt;
| AgeOnAdmission || Integer || Rounded to +-5y, over 90 set to 90 || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit || Reference || Last unit using this case || &lt;br /&gt;
|-&lt;br /&gt;
| ReferringUnit || Reference || Referring unit as selected in admission form || Note: Unfortunatly in some cases &amp;quot;Notaufnahme&amp;quot; is selected here, so the referring unit is not specified in these cases.&lt;br /&gt;
|-&lt;br /&gt;
| ICD10Main || Text || ICD10 main code ||&lt;br /&gt;
|-&lt;br /&gt;
| ICD10MainText || Text || ICD10 main text ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT1 || Text || Diagnosis field 1* || &lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT2 || Text || Diagnosis field 2 ||&lt;br /&gt;
|-&lt;br /&gt;
| DiagnosisT3|| Text || Diagnosis field 3* ||&lt;br /&gt;
|-&lt;br /&gt;
| SurgicalSite || Reference || ||&lt;br /&gt;
|-&lt;br /&gt;
| InterventionsText || Text || List of interventions ||&lt;br /&gt;
|-&lt;br /&gt;
| HoursOfCRRT || Integer || Hours of continuous renal replacement threapy this admission || Note: This field will be moved into data table soon&lt;br /&gt;
|-&lt;br /&gt;
| AdmissionFormHasSepsis || Reference ||  A mandatory field in the admission form || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryAdditionalData || For heart surgery patients there is additional data collected || Yes if applicable&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryCPBTime || Integer ||  Bypass time ||&lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryBeginOffset || Integer || Offset in seconds from ICU admission to cut || &lt;br /&gt;
|-&lt;br /&gt;
| HeartSurgeryEndOffset || Integer ||  Offset in seconds from ICU admission to end of surgery || &lt;br /&gt;
|-&lt;br /&gt;
| OffsetAfterFirstAdmission || Integer || If a patient has more than one admission, this is the offset in seconds from the first || &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* These fields are not available on PhysioNet at the moment. Contact us for further information.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Software_Description&amp;diff=347</id>
		<title>Software Description</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Software_Description&amp;diff=347"/>
		<updated>2022-11-09T16:57:31Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Software Components */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Working with medium sized datasets like SICdb, containing billions of entries, may present a challenge to work with. Therefore we provide a software package to simplify building up a database, browsing through data and exporting specific parts of the database in one of the supported file formats. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To install our software refer to the [[Get Started]] page.&lt;br /&gt;
&lt;br /&gt;
== Software Components ==&lt;br /&gt;
&lt;br /&gt;
=== MySQL Server Community Edition ===&lt;br /&gt;
&lt;br /&gt;
MySQL is an open-source relational database managment system.&amp;lt;ref&amp;gt;https://en.wikipedia.org/wiki/MySQL&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== phpMyAdmin ===&lt;br /&gt;
&lt;br /&gt;
PhpMyAdmin is one of the most popular open source MySQL administration tools.&amp;lt;ref&amp;gt;https://en.wikipedia.org/wiki/PhpMyAdmin&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RooDataServer ===&lt;br /&gt;
&lt;br /&gt;
[[RooDataServer]] is the software we created to import, view and export data from a relational dataset like SICdb. &lt;br /&gt;
&lt;br /&gt;
==== Core Features ====&lt;br /&gt;
* Import the dataset&lt;br /&gt;
* Create and edit queries using predefined fields&lt;br /&gt;
* Perform quick statistics to validate query before export&lt;br /&gt;
* Export to various file formats (.csv, .xlsx, .r (R Studio), .sqlite3, more following)&lt;br /&gt;
&lt;br /&gt;
Import, Export, Statistics, Charts and more are expendable. Soon it will be possible to directly run python scripts!&lt;br /&gt;
&lt;br /&gt;
== Installation and running ==&lt;br /&gt;
The environment can be installed fully preconfigured to use in any modern browser. Refer to [[Get Started]] for further information.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Processed_Referenced_Fields&amp;diff=346</id>
		<title>Processed Referenced Fields</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Processed_Referenced_Fields&amp;diff=346"/>
		<updated>2022-11-09T10:37:11Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Several fields have been preprocessed and added to the database. This includes peprocessed-for-convenience and preprocessed-for-anonymization elements. The data is found in data_ref.csv.gz, the text values are referenced in d_references, where d_references.ReferenceGlobalID relates to data_ref.RefID.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Fields&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationBetablocker  || Referenced || Yes/No &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationACEInhibitor || Referenced|| Yes/No   &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationStatin || Referenced|| Yes/No   &lt;br /&gt;
|- &lt;br /&gt;
| PremedicationDiuretic || Referenced|| Yes/No  &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionDiabetes || Referenced|| Any type of diabetes (IDDM or NIDDM) &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionLungDisease || Referenced|| Any kind of lung severe disease (COPD, restrictive lung diseases, ...). Asthma is included when medication is taken daily  &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionArtHypertension || Referenced|| Any kind of treated or diagnosed arterial hypertension &lt;br /&gt;
|- &lt;br /&gt;
| PreconditionRenalDysfunction|| Referenced || If stated in admission protocol (omitted due to anonymity issues)  &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=SICdb_Documentation&amp;diff=345</id>
		<title>SICdb Documentation</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=SICdb_Documentation&amp;diff=345"/>
		<updated>2022-11-09T10:35:38Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Data Description unitlog.csv.gz */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Logo1HD.png|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
{{:Introduction}}&lt;br /&gt;
&lt;br /&gt;
=== About Dataset, Database and Software ===&lt;br /&gt;
&lt;br /&gt;
The dataset is hosted on PhysioNet. You need to be a credentialed user and sign a data use agreement. Please handle data with care! &lt;br /&gt;
&lt;br /&gt;
We provide a software package to build up da database, select and export data into various file formats. Refer to https://www.sicdb.com/Documentation/Get_Started to start!&lt;br /&gt;
&lt;br /&gt;
== File Description == &lt;br /&gt;
{{:File Description}}&lt;br /&gt;
&lt;br /&gt;
== List of files ==&lt;br /&gt;
=== Data Description cases.csv.gz ===&lt;br /&gt;
{{:Data Description Cases}}&lt;br /&gt;
=== Data Description d_references.csv.gz ===&lt;br /&gt;
{{:Data Description References}}&lt;br /&gt;
=== Data Description data_float_h.csv.gz ===&lt;br /&gt;
{{:Data_Description_Data_Float_h}}&lt;br /&gt;
Refer to chapter &amp;quot;Raw Data&amp;quot; for more information&lt;br /&gt;
&lt;br /&gt;
=== Data Description data_ref.csv.gz ===&lt;br /&gt;
{{:Data Description Data Ref}}&lt;br /&gt;
=== Data Description laboratory.csv.gz ===&lt;br /&gt;
{{:Data Description Laboratory}}&lt;br /&gt;
=== Data Description medication.csv.gz ===&lt;br /&gt;
{{:Data Description Medication}}&lt;br /&gt;
=== Data Description data_range.csv.gz ===&lt;br /&gt;
{{:Data_Description_Data_Range}}&lt;br /&gt;
=== Data Description unitlog.csv.gz ===&lt;br /&gt;
{{:Data Description Unitlog}}&lt;br /&gt;
&lt;br /&gt;
== Preprocessed fields ==&lt;br /&gt;
{{:Processed_Referenced_Fields}}&lt;br /&gt;
&lt;br /&gt;
{{:Case Description}}&lt;br /&gt;
&lt;br /&gt;
== SQL Examples ==&lt;br /&gt;
{{:SQL Examples}}&lt;br /&gt;
&lt;br /&gt;
== Raw data ==&lt;br /&gt;
{{:Deserialize Raw Data}}&lt;br /&gt;
&lt;br /&gt;
{{:Version}}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=344</id>
		<title>Data Description Unitlog</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=344"/>
		<updated>2022-11-09T10:35:12Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The unitlog table contains information of patient transportation. Note that in many cases Metavision creates multiple entries and this data is difficult to interpret.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption unitlog&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description &lt;br /&gt;
|- &lt;br /&gt;
| id || Integer || Primary Key &lt;br /&gt;
|-&lt;br /&gt;
| CaseID ||  Integer ||  &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||   &lt;br /&gt;
|-&lt;br /&gt;
| LogState || Integer ||  Internal Metavision value. Note that in this version of the dataset this is a raw unencoded value.  &lt;br /&gt;
|-&lt;br /&gt;
| Offset || Integer || Time in seconds after admission  &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit ||  Reference ||    &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=343</id>
		<title>Data Description Unitlog</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=343"/>
		<updated>2022-11-09T10:35:01Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The unitlog table contains information of patient transportation. Note that in many cases Metavision creates multiple entries and this data is difficult to interpret.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption unitlog&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description &lt;br /&gt;
|- &lt;br /&gt;
| id || Integer || Primary Key &lt;br /&gt;
|-&lt;br /&gt;
| CaseID ||  Integer ||  &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||   &lt;br /&gt;
|-&lt;br /&gt;
| LogState || Integer ||  Internal Metavision value. Note that in this version of the dataset this is a raw unencoded value.  || &lt;br /&gt;
|-&lt;br /&gt;
| Offset || Integer || Time in seconds after admission  &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit ||  Reference ||    &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=342</id>
		<title>Data Description Unitlog</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=342"/>
		<updated>2022-11-09T10:34:48Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The unitlog table contains information of patient transportation. Note that in many cases Metavision creates multiple entries and this data is difficult to interpret.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption unitlog&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description &lt;br /&gt;
|- &lt;br /&gt;
| id || Integer || Primary Key || &lt;br /&gt;
|-&lt;br /&gt;
| CaseID ||  Integer ||  || &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||   || &lt;br /&gt;
|-&lt;br /&gt;
| LogState || Integer ||  Internal Metavision value. Note that in this version of the dataset this is a raw unencoded value.  || &lt;br /&gt;
|-&lt;br /&gt;
| Offset || Integer || Time in seconds after admission || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit ||  Reference ||    || &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=341</id>
		<title>Data Description Unitlog</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Data_Description_Unitlog&amp;diff=341"/>
		<updated>2022-11-09T10:34:39Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The unitlog table contains information of patient transportation. Note that in many cases Metavision creates multiple entries and this data is difficult to interpret.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption unitlog&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Description !! Comment&lt;br /&gt;
|- &lt;br /&gt;
| id || Integer || Primary Key || &lt;br /&gt;
|-&lt;br /&gt;
| CaseID ||  Integer ||  || &lt;br /&gt;
|-&lt;br /&gt;
| PatientID || Integer ||   || &lt;br /&gt;
|-&lt;br /&gt;
| LogState || Integer ||  Internal Metavision value. Note that in this version of the dataset this is a raw unencoded value.  || &lt;br /&gt;
|-&lt;br /&gt;
| Offset || Integer || Time in seconds after admission || &lt;br /&gt;
|-&lt;br /&gt;
| HospitalUnit ||  Reference ||    || &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=SICdb_Documentation&amp;diff=340</id>
		<title>SICdb Documentation</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=SICdb_Documentation&amp;diff=340"/>
		<updated>2022-11-09T10:34:08Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[File:Logo1HD.png|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
{{:Introduction}}&lt;br /&gt;
&lt;br /&gt;
=== About Dataset, Database and Software ===&lt;br /&gt;
&lt;br /&gt;
The dataset is hosted on PhysioNet. You need to be a credentialed user and sign a data use agreement. Please handle data with care! &lt;br /&gt;
&lt;br /&gt;
We provide a software package to build up da database, select and export data into various file formats. Refer to https://www.sicdb.com/Documentation/Get_Started to start!&lt;br /&gt;
&lt;br /&gt;
== File Description == &lt;br /&gt;
{{:File Description}}&lt;br /&gt;
&lt;br /&gt;
== List of files ==&lt;br /&gt;
=== Data Description cases.csv.gz ===&lt;br /&gt;
{{:Data Description Cases}}&lt;br /&gt;
=== Data Description d_references.csv.gz ===&lt;br /&gt;
{{:Data Description References}}&lt;br /&gt;
=== Data Description data_float_h.csv.gz ===&lt;br /&gt;
{{:Data_Description_Data_Float_h}}&lt;br /&gt;
Refer to chapter &amp;quot;Raw Data&amp;quot; for more information&lt;br /&gt;
&lt;br /&gt;
=== Data Description data_ref.csv.gz ===&lt;br /&gt;
{{:Data Description Data Ref}}&lt;br /&gt;
=== Data Description laboratory.csv.gz ===&lt;br /&gt;
{{:Data Description Laboratory}}&lt;br /&gt;
=== Data Description medication.csv.gz ===&lt;br /&gt;
{{:Data Description Medication}}&lt;br /&gt;
=== Data Description data_range.csv.gz ===&lt;br /&gt;
{{:Data_Description_Data_Range}}&lt;br /&gt;
=== Data Description unitlog.csv.gz ===&lt;br /&gt;
{{:Data_Description_unitlog}}&lt;br /&gt;
&lt;br /&gt;
== Preprocessed fields ==&lt;br /&gt;
{{:Processed_Referenced_Fields}}&lt;br /&gt;
&lt;br /&gt;
{{:Case Description}}&lt;br /&gt;
&lt;br /&gt;
== SQL Examples ==&lt;br /&gt;
{{:SQL Examples}}&lt;br /&gt;
&lt;br /&gt;
== Raw data ==&lt;br /&gt;
{{:Deserialize Raw Data}}&lt;br /&gt;
&lt;br /&gt;
{{:Version}}&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=File_Description&amp;diff=339</id>
		<title>File Description</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=File_Description&amp;diff=339"/>
		<updated>2022-11-09T10:33:30Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset consists of 8 files. All data files in the SICdb dataset are provided as comma seperated files (.csv) using the RFC 4180 standard. Additionally all files are compressed with gzip, an commonly used openly available compression method.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=File_List&amp;diff=338</id>
		<title>File List</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=File_List&amp;diff=338"/>
		<updated>2022-11-09T10:31:59Z</updated>

		<summary type="html">&lt;p&gt;Salkin: /* Data Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The SICdb dataset consists from 7 files. Additional data is found on our [https://github.com/nrodemund/sicdb github repository], refer to [[Get Started]] for usage details.&lt;br /&gt;
&lt;br /&gt;
== Data Files ==&lt;br /&gt;
&lt;br /&gt;
All data files are gzip compressed RFC4180 comma seperated files.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Files&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Short description&lt;br /&gt;
|-&lt;br /&gt;
| [[Case Data|cases.csv.gz]]  || Contains basic data about admissions to icu. See [[Case Data]] for table details and [[Case Description]]. &lt;br /&gt;
|-&lt;br /&gt;
| [[d_references|d_references.csv.gz]] ||  Contains the dictionary for all encoded fields in the SICdb dataset.  || &lt;br /&gt;
|-&lt;br /&gt;
| [[data_float_h|data_float_h.csv.gz]] || Contains hourly aggregated float data like monitor [[Signal Data|signals]] or respirator settings. Additionally raw minute data is included.See [[data_float_h]] and [[Signal Data]] for further information. || &lt;br /&gt;
|-&lt;br /&gt;
|  [[data_ref|data_ref.csv.gz]] || Contains encoded (nominal) data related to an admission. ||&lt;br /&gt;
|-&lt;br /&gt;
| [[Laboratory Data|laboratory.csv.gz]] || Contains laboratory results. ||  &lt;br /&gt;
|-&lt;br /&gt;
| [[Medication Data|medication.csv.gz]] || Contains data about medication given during ICU stay. ||  &lt;br /&gt;
|-&lt;br /&gt;
| [[Data range|data_range.csv.gz]] || Contains ranged data (from/to) ||&lt;br /&gt;
|-&lt;br /&gt;
| [[Unitlog|unitlog.csv.gz]] || Information about the patient's stay  ||  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Configuration Files ==&lt;br /&gt;
&lt;br /&gt;
This data is found on our [https://github.com/nrodemund/sicdb github repository].&lt;br /&gt;
&lt;br /&gt;
=== docker-compose.yml ===&lt;br /&gt;
&lt;br /&gt;
This file is needed to install our database software. See [[Software Description]] for further information, and [[Get Started]] for installation instructions.&lt;br /&gt;
&lt;br /&gt;
=== DatasetConfiguration.conf ===&lt;br /&gt;
&lt;br /&gt;
Our database software needs this metadata for building up the database. It contains field data types and SQL table structure, that cannot be saved in .csv files.&lt;br /&gt;
&lt;br /&gt;
== RooData Folder and contents ==&lt;br /&gt;
&lt;br /&gt;
This data is used by our software and contains field and table configurations.&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
	<entry>
		<id>https://www.sicdb.com/wiki/index.php?title=Deserialize_Raw_Data&amp;diff=337</id>
		<title>Deserialize Raw Data</title>
		<link rel="alternate" type="text/html" href="https://www.sicdb.com/wiki/index.php?title=Deserialize_Raw_Data&amp;diff=337"/>
		<updated>2022-11-09T10:26:51Z</updated>

		<summary type="html">&lt;p&gt;Salkin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Why is this data serialized? ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;===Why is this data serialized? ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intermediate data, where minute values are not aggregated, has roughly about 240gb, and it is to be expected that is increases by about 15% in 2023 update. By aggregating and serializing these values the database can be compresssed to under 10gb. Nevertheless it complicates the deserialization of this data. While our software can export the minute values one-click, using it in raw data requires a bit of coding.&lt;br /&gt;
&lt;br /&gt;
Refer to chapter Full Unpack to learn how to completely unpack minute data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Encoding ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Encoding ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The raw data field is a stream of 60 little endian IEEE 754 floats, so it has exactly 240 bytes. The first 4 bytes represent the first minute of the hour and so on. Note that 0x000000 is defined to be NULL (no value).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Python example ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Python example ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  def GetRawValues(data):&lt;br /&gt;
    ret=[]&lt;br /&gt;
    for i in range(int(len(data)/4)):&lt;br /&gt;
        #if (data[i*4]==0 and data[i*4+1]==0 and data[i*4+2]==0 and data[i*4+3]==0): continue # uncomment this if you do not want to include null values&lt;br /&gt;
        ret.append(struct.unpack('&amp;lt;f',data[i*4:i*4+4])[0])&lt;br /&gt;
    return ret&lt;br /&gt;
&lt;br /&gt;
This simple example does not include a correct offset for the values. You may check our [https://github.com/nrodemund/sicdb/tree/main/Scripts/Unpack%20raw%20data unpack script] to find an example on how to compute the offset. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== C# example ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== C# example ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        public static float?[] GetRawValues(byte[] data)&lt;br /&gt;
        {&lt;br /&gt;
            byte[] buf = new byte[4];&lt;br /&gt;
            float?[] ret = new float?[data.Length / 4];&lt;br /&gt;
            for(int i = 0; i &amp;lt; data.Length; i += 4)&lt;br /&gt;
            {&lt;br /&gt;
                buf[0] = data[i];&lt;br /&gt;
                buf[1] = data[i+1];&lt;br /&gt;
                buf[2] = data[i+2];&lt;br /&gt;
                buf[3] = data[i+3];&lt;br /&gt;
                if (buf[0] == 0 &amp;amp;&amp;amp; buf[1] == 0 &amp;amp;&amp;amp; buf[2] == 0 &amp;amp;&amp;amp; buf[3] == 0) continue; // ignore null values&lt;br /&gt;
                ret[i / 4] = BitConverter.ToSingle(buf); // note: if you are on a BigEndian machine you need to flip buf&lt;br /&gt;
            }&lt;br /&gt;
            return ret;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;== Full Unpack ==&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;=== Full Unpack ===&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We provide a simple unpack python script on our [https://github.com/nrodemund/sicdb/tree/main/Scripts/Unpack%20raw%20data github code repository].&lt;/div&gt;</summary>
		<author><name>Salkin</name></author>
	</entry>
</feed>