Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/14 add variables #15

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
17 changes: 17 additions & 0 deletions concepts/Adrenaline_dosage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: ''
identifiers:
loinc: ''
snomed: ''
lower_limit: ''
mapper:
- klass: MimicDosageMapper
params:
constraints:
itemid: '221289'
schema: mimiciv_icu
table: inputevents
source: mimiciv
unit: mg/time
MyNameIsFu marked this conversation as resolved.
Show resolved Hide resolved
name: Adrenaline_dosage
unit: ug/kg/min
upper_limit: ''
27 changes: 27 additions & 0 deletions concepts/Age.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description: Patient's age
identifiers:
loinc: '30525-0'
snomed: '397669002'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
fields:
value: age
timestamp: admittime
constraints: {}
schema: mimiciv_derived
table: age
source: mimiciv
unit: year
- klass: EICUPationObservationMapper
params:
fields:
value: age
schema: eicu_crd
table: patient
source: eicu
unit: year
name: Age
unit: year
upper_limit: '130'
17 changes: 17 additions & 0 deletions concepts/AirwayPlateauPressure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: Airway Plateau Pressure of a patient
identifiers:
loinc: ''
snomed: ''
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '224696'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: mmHg
name: AirwayPlateauPressure
unit: mmHg
upper_limit: '100'
25 changes: 25 additions & 0 deletions concepts/BodyHeight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Height of a patient's body
identifiers:
loinc: 8302-2
snomed: '1153637007'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '226730'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: cm
- klass: EICUPationObservationMapper
params:
fields:
value: admissionheight
schema: eicu_crd
table: patient
source: eicu
unit: cm
name: BodyHeight
unit: cm
upper_limit: '300'
25 changes: 25 additions & 0 deletions concepts/BodyTemperature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Temperature of a patient's body, irrespective of site
identifiers:
loinc: ''
snomed: ''
lower_limit: '20'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '223762'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: °C
- klass: EICUObservationMapper
params:
fields:
value: temperature
schema: eicu_crd
table: vitalperiodic
source: eicu
unit: °C
name: BodyTemperature
unit: °C
upper_limit: '45'
25 changes: 25 additions & 0 deletions concepts/BodyWeight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Weight of a patien's body
identifiers:
loinc: 29463-7
snomed: '27113001'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '224639'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: kg
- klass: EICUPationObservationMapper
params:
fields:
value: admissionWeight
schema: eicu_crd
table: patient
source: eicu
unit: cm
name: BodyWeight
unit: kg
upper_limit: '500'
25 changes: 25 additions & 0 deletions concepts/BreathingRate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Actual breathing rate of patient
identifiers:
loinc: ''
snomed: ''
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '224690'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: 1/min
- klass: EICUObservationMapper
params:
fields:
value: respiration
schema: eicu_crd
table: vitalperiodic
source: eicu
unit: 1/min
name: BreathingRate
unit: 1/min
upper_limit: '100'
17 changes: 17 additions & 0 deletions concepts/Creatinine_absolute_serum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: ''
identifiers:
loinc: ''
snomed: ''
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220615'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: 'mg/dl'
name: Creatinine_absolute_serum
unit: mg/dl
upper_limit: '1000000'
25 changes: 25 additions & 0 deletions concepts/DiastolicBloodPressue_Arterial_Invasive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Diastolic arterial pressure of a patient
identifiers:
loinc: 76213-8
snomed: '251073000'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220051'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: mmHg
- klass: EICUObservationMapper
params:
fields:
value: systemicdiastolic
schema: eicu_crd
table: vitalperiodic
source: eicu
unit: mmHg
name: DiastolicBloodPressue_Arterial_Invasive
unit: mmHg
upper_limit: '200'
25 changes: 25 additions & 0 deletions concepts/DiastolicBloodPressue_Arterial_noninvasive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Diastolic arterial pressure of a patient
identifiers:
loinc: ''
snomed: '251074006'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220180'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: mmHg
- klass: EICUObservationMapper
params:
fields:
value: noninvasivediasystolic
schema: eicu_crd
table: vitalaperiodic
source: eicu
unit: mmHg
name: DiastolicBloodPressue_Arterial_noninvasive
unit: mmHg
upper_limit: '200'
17 changes: 17 additions & 0 deletions concepts/Dobutamine_dosage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: ''
identifiers:
loinc: ''
snomed: ''
lower_limit: ''
mapper:
- klass: MimicDosageMapper
params:
constraints:
itemid: '221653'
schema: mimiciv_icu
table: inputevents
source: mimiciv
unit: mg/time
name: Dobutamine_dosage
unit: ug/kg/min
upper_limit: ''
17 changes: 17 additions & 0 deletions concepts/FiO2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: Inspired oxygen concentration of a patient
identifiers:
loinc: ''
snomed: ''
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '223835'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: '%'
name: FiO2
unit: '%'
upper_limit: '100'
27 changes: 27 additions & 0 deletions concepts/Gender.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
description: Patient's gender
identifiers:
loinc: ''
snomed: ''
lower_limit: ''
mapper:
- klass: MimicObservationMapper
params:
fields:
value: gender
timestamp: anchor_year
constraints: {}
schema: mimiciv_hosp
table: patients
source: mimiciv
unit: ''
- klass: EICUPationObservationMapper
params:
fields:
value: gender
schema: eicu_crd
table: patient
source: eicu
unit: ''
name: Gender
unit: ''
upper_limit: ''
39 changes: 23 additions & 16 deletions concepts/HeartRate.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
description: heart rate of a patient, source agnostic
identifiers:
loinc: 8867-4
snomed: '364075005'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220045'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: bpm
- klass: EICUObservationMapper
params:
fields:
value: heartrate
schema: eicu_crd
table: vitalperiodic
source: eicu
unit: bpm
name: HeartRate
description: Heart rate is the speed of the heartbeat measured by the number of contractions of the heart per minute (bpm).
unit: bpm
upper_limit: 300
lower_limit: 0
identifiers:
snomed: "364075005"
loinc: "8867-4"
#schema: FHIRObservation
mapper:
- klass: MimicObservationMapper
source: mimic
unit: bpm
params:
schema: mimiciv_icu
table: chartevents
constraints:
itemid: "220045"
upper_limit: '300'
25 changes: 25 additions & 0 deletions concepts/MeanBloodPressue_Arterial_Invasive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Mean arterial pressure of a patient
identifiers:
loinc: ''
snomed: '251075007'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220052'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: mmHg
- klass: EICUObservationMapper
params:
fields:
value: systemicmean
schema: eicu_crd
table: vitalperiodic
source: eicu
unit: mmHg
name: MeanBloodPressue_Arterial_Invasive
unit: mmHg
upper_limit: '200'
25 changes: 25 additions & 0 deletions concepts/MeanBloodPressue_Arterial_Noninvasive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
description: Diastolic arterial pressure of a patient
identifiers:
loinc: ''
snomed: '174255007'
lower_limit: '0'
mapper:
- klass: MimicObservationMapper
params:
constraints:
itemid: '220181'
schema: mimiciv_icu
table: chartevents
source: mimiciv
unit: mmHg
- klass: EICUObservationMapper
params:
fields:
value: noninvasivemean
schema: eicu_crd
table: vitalaperiodic
source: eicu
unit: mmHg
name: MeanBloodPressue_Arterial_Noninvasive
unit: mmHg
upper_limit: '200'
Loading