-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
317 lines (292 loc) · 10.1 KB
/
index.html
File metadata and controls
317 lines (292 loc) · 10.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>MEDWEAR: Open Standard for Wearable Health Data</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="favicon.ico" />
</head>
<body>
<header>
<div class="header-upper">
<!-- <img src="assets/images/medwear_logo.png" alt="MEDWEAR Logo" class="logo" /> -->
</div>
<div class="header-lower">
<h1>MEDWEAR</h1>
<p>Open, Interoperable Standards for Medical Wearables</p>
</div>
<hr class="header-separator" />
<div class="under-construction-banner">
🚧 This website is currently under construction. Some content may be incomplete. 🚧
</div>
<nav>
<a href="index.html" class="active">Home</a>
<a href="about.html">About</a>
<a href="standards.html">Standards</a>
<a href="documentation.html">Documentation</a>
<a href="schemas.html">Schemas</a>
<a href="contribute.html">Contribute</a>
<a href="med-api.html">MED-API</a>
</nav>
</header>
<div class="content-container">
<main>
<section>
<h2>Welcome to MEDWEAR</h2>
<p>
MEDWEAR is a collaborative project funded by ETH Zurich’s Open Research Data initiative.
We aim to define open standards for raw wearable sensor data that are vendor-agnostic and FAIR (Findable, Accessible, Interoperable, and Reusable).
</p>
<p>
Through community-driven development, we are creating:
<ul>
<li>Expanding Open mHealth schemas (based on IEEE 1752).</li>
<li>Online conversion to ROS 2 message for robotic applications.</li>
<li>Libraries for real time data stream support and educational materials.</li>
</ul>
</p>
</section>
<section>
<h2>Installation</h2>
<p>To use MEDWEAR schemas and libraries, clone our repository (fork from Open mHealth) from GitHub:</p>
<pre><code>git clone https://github.com/SCAI-Lab/ord_schemas
# Follow further instructions in README.md</code></pre>
</section>
<section id="bcg-schemas">
<h3>Ballistocardiogram (BCG)</h3>
<p>
The BCG schema represents waveform data from a specific lead with signal quality and temporal context.
The BCGInfo schema describes metadata about the sensor and acquisition parameters.
</p>
<h4>JSON Schemas</h4>
<details>
<summary>BCG Schema</summary>
<pre><code>{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BCG Data",
"description": "This schema represents bcg waveform data from a specific lead with signal quality and temporal context",
"type": "object",
"definitions": {
"time_frame": { "$ref": "time-frame-1.0.json" },
"time_interval": { "$ref": "time-interval-1.0.json" }
},
"properties": {
"session_id": {
"type": "string",
"description": "Session identifier matching BCGInfo's session_id"
},
"sample_size": {
"type": "integer",
"minimum": 0,
"maximum": 65535,
"description": "Number of samples in bcg and signal_quality arrays"
},
"bcg": {
"type": "array",
"items": { "type": "number" },
"description": "Raw or filtered BCG values"
},
"signal_quality": {
"type": "array",
"items": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"description": "Signal quality values from 0 (poor) to 1 (excellent)"
}
},
"required": ["session_id", "sample_size", "bcg", "signal_quality"]
}</code></pre>
</details>
<details>
<summary>BCGInfo Schema</summary>
<pre><code>{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BCGInfo",
"description": "Metadata describing BCG data acquisition parameters and sensor characteristics.",
"type": "object",
"definitions": {
"device_info": {
"type": "object",
"description": "Device information details",
"properties": {
"manufacturer": { "type": "string" },
"model": { "type": "string" },
"serial_number": { "type": "string" }
},
"required": ["manufacturer", "model"]
},
"filter_base": {
"type": "object",
"description": "Filter metadata",
"properties": {
"filter_type": { "type": "string" },
"cutoff_frequency_hz": { "type": "number" },
"order": { "type": "integer" }
}
}
},
"properties": {
"device_info": { "$ref": "#/definitions/device_info" },
"session_id": {
"type": "string",
"description": "Session identifier linking to BCG data"
},
"sampling_frequency": {
"type": "number",
"minimum": 0,
"description": "Sampling frequency in Hz"
},
"window_size_samples": {
"type": "integer",
"minimum": 1,
"description": "Number of samples per BCG message"
},
"quality_window_size_samples": {
"type": "integer",
"minimum": 1,
"description": "Number of samples per quality value"
},
"units": {
"type": "string",
"enum": ["UNIT_UNKNOWN", "UNIT_MV", "UNIT_UV", "UNIT_COUNTS", "UNIT_M_S2", "UNIT_NEWTON"],
"description": "Units for the BCG data"
},
"gain": {
"type": "number",
"description": "Multiplicative factor (e.g., µV/count); set to 1.0 if signal is already scaled"
},
"adc_resolution": {
"type": "integer",
"minimum": 1,
"maximum": 32,
"description": "ADC resolution in bits"
},
"sensor_placement": {
"type": "string",
"enum": [
"PLACEMENT_UNKNOWN", "PLACEMENT_CHEST", "PLACEMENT_BACK", "PLACEMENT_MATTRESS",
"PLACEMENT_CHAIR", "PLACEMENT_ANKLE", "PLACEMENT_FOOT", "PLACEMENT_WRIST",
"PLACEMENT_ARM", "PLACEMENT_DESK", "PLACEMENT_CLOTHING", "PLACEMENT_CUSTOM"
],
"description": "Physical placement of the sensor"
},
"sensing_direction": {
"type": "string",
"enum": [
"DIRECTION_UNKNOWN", "DIRECTION_DORSO_VENTRAL", "DIRECTION_LONGITUDINAL",
"DIRECTION_MEDIO_LATERAL", "DIRECTION_CUSTOM"
],
"description": "Direction of sensing axis"
},
"sensing_modality": {
"type": "string",
"enum": [
"MODALITY_UNKNOWN", "MODALITY_PIEZOELECTRIC_FILM", "MODALITY_FORCEPLATE",
"MODALITY_ACCELEROMETER", "MODALITY_PIEZOELECTRIC_CRYSTAL", "MODALITY_CUSTOM"
],
"description": "Sensor modality"
},
"measurement_system": {
"type": "string",
"enum": ["SYSTEM_UNKNOWN", "SYSTEM_STARR", "SYSTEM_NICKERSON", "SYSTEM_DOCK", "SYSTEM_CUSTOM"],
"description": "Measurement system used"
},
"filter": { "$ref": "#/definitions/filter_base" }
},
"required": [
"device_info", "session_id", "sampling_frequency", "window_size_samples",
"quality_window_size_samples", "units", "gain", "adc_resolution",
"sensor_placement", "sensing_direction", "sensing_modality", "measurement_system"
]
}</code></pre>
</details>
<h4>ROS 2 Message Definitions</h4>
<details>
<summary>BCG.msg</summary>
<pre><code>std_msgs/Header header
string session_id # Match BCGInfo's session_id
uint16 sample_size
float32[] bcg # Raw or filtered BCG values
float32[] signal_quality # From 0 (poor) to 1 (excellent)
</code></pre>
</details>
<details>
<summary>BCGInfo.msg</summary>
<pre><code>DeviceInfo device_info
string session_id
float32 sampling_frequency # Hz
uint32 window_size_samples # Number of samples per BCG.msg
uint32 quality_window_size_samples # Number of samples per quality value
# Units Enum
uint8 UNIT_UNKNOWN = 0
uint8 UNIT_MV = 1 # Millivolts (less common for BCG)
uint8 UNIT_UV = 2 # Microvolts (biopotential signals, maybe less common for BCG)
uint8 UNIT_COUNTS = 3 # Raw ADC counts
uint8 UNIT_M_S2 = 4 # Meters per second squared
uint8 UNIT_NEWTON = 5 # Newtons (force)
uint8 units # e.g., UNIT_MV
float32 gain # Multiplicative factor
uint8 adc_resolution # Bits (e.g., 12, 16)
# Sensor Placement Enum
uint8 PLACEMENT_UNKNOWN = 0
uint8 PLACEMENT_CHEST = 1
uint8 PLACEMENT_BACK = 2
uint8 PLACEMENT_MATTRESS = 3
uint8 PLACEMENT_CHAIR = 4
uint8 PLACEMENT_ANKLE = 5
uint8 PLACEMENT_FOOT = 6
uint8 PLACEMENT_WRIST = 7
uint8 PLACEMENT_ARM = 8
uint8 PLACEMENT_DESK = 9
uint8 PLACEMENT_CLOTHING = 10
uint8 PLACEMENT_CUSTOM = 255
uint8 sensor_placement
# Sensing Direction Enum
uint8 DIRECTION_UNKNOWN = 0
uint8 DIRECTION_DORSO_VENTRAL = 1 # Front to back
uint8 DIRECTION_LONGITUDINAL = 2 # Head to toe
uint8 DIRECTION_MEDIO_LATERAL = 3 # Side to side
uint8 DIRECTION_CUSTOM = 255
uint8 sensing_direction
# Sensing Modality Enum
uint8 MODALITY_UNKNOWN = 0
uint8 MODALITY_PIEZOELECTRIC_FILM = 1
uint8 MODALITY_FORCEPLATE = 2
uint8 MODALITY_ACCELEROMETER = 3
uint8 MODALITY_PIEZOELECTRIC_CRYSTAL = 4
uint8 MODALITY_CUSTOM = 255
uint8 sensing_modality
# Measurement System Enum
uint8 SYSTEM_UNKNOWN = 0
uint8 SYSTEM_STARR = 1
uint8 SYSTEM_NICKERSON = 2
uint8 SYSTEM_DOCK = 3
uint8 SYSTEM_CUSTOM = 255
uint8 measurement_system
FilterBase filter
</code></pre>
</details>
</section>
<section>
<h3>Recent Highlights</h3>
<ul>
<li>🏥 Symposium: "Toward the Next Standard for Medical Wearables in Switzerland."</li>
<li>📊 E-Survey with 31 participants from academia, clinics, and industry.</li>
<li>🛠 GitHub repo containing new data schemas.</li>
</ul>
</section>
</main>
</div>
<footer>
<div class="footer-logos">
<img src="assets/images/scai_logo.png" alt="SCAI Lab Logo" class="logo" style="height: 40px; width: auto; margin-right: 10px;" />
<img src="assets/images/dart_logo.png" alt="DART Logo" class="logo" style="height: 40px; width: auto; margin-right: 10px;" />
<img src="assets/images/ethz_logo.png" alt="ETH Zurich Logo" class="logo" style="height: 20px; width: auto; margin-right: 10px;" />
</div>
<p>© 2025 ETH Zurich – MEDWEAR Project | Contact: diego.paez@scai.ethz.ch</p>
</footer>
</body>
</html>