feat(csv-import): Add blood pressure and activity row diagnosis functionality
- Introduced `diagnose_blood_pressure_row` and `diagnose_activity_row` functions to validate and analyze blood pressure and activity data from CSV imports. - Updated the CSV import logic to handle combined datetime columns for blood pressure and activity, improving data integrity during import. - Enhanced type conversion specifications to include `start_time` for blood pressure and activity, ensuring accurate data mapping. - Added tests to validate the new diagnosis functions and their integration with existing import processes, ensuring robustness and reliability. - Updated frontend messages to provide clearer guidance on blood pressure and activity data handling during CSV imports.
This commit is contained in:
1 parent
c5b0540b11
commit
5b96bd4f75
9 files changed
+295
-9
No files matched your search
@@ -556,9 +556,10 @@ export default function UniversalCsvImportPage() {
|
||||
</summary>
|
||||
<p style={{ fontSize: 13, color: 'var(--text3)', marginTop: 8, lineHeight: 1.5 }}>
|
||||
Vorlage #{diagnoseResult.mapping_id} · {diagnoseResult.mapping_name} · Modul{' '}
|
||||
{MODULE_LABEL[diagnoseResult.module] || diagnoseResult.module}. Bei Vitalwerten: pro Zeile{' '}
|
||||
<code>vitals.would_pass_prefilter</code> und{' '}
|
||||
<code>prefilter_fail_reason</code> prüfen (z. B. <code>datum_fehlt</code>).
|
||||
{MODULE_LABEL[diagnoseResult.module] || diagnoseResult.module}. Hinweise: Vitalwerte{' '}
|
||||
<code>vitals.*</code>, Blutdruck <code>blood_pressure.*</code>, Workouts{' '}
|
||||
<code>activity.*</code> (z. B. <code>would_pass_row_gate</code> /{' '}
|
||||
<code>prefilter_fail_reason</code>).
|
||||
</p>
|
||||
<pre
|
||||
style={{
|
||||
|
||||
Reference in new issue
Block a user