45 Commits

Author SHA1 Message Date
cfd46c34af refactor: use references as argument 2024-06-25 15:49:20 +02:00
925aa4e786 refactor: change parameter type to &str 2024-06-23 14:48:47 +02:00
54dd9163a9 refactor: use 'package' as primary argument name but keep 'export-package' 2024-06-18 09:22:32 +02:00
46eb43aab9 feat: show schema versions and change extern detection
This adds a new optional argument to split conditions by used schema versions in
addition to ICD10 group.

Since a JOIN on table `lkr_meldung` might use newer, not yet exported information
the detection of external items will be done by using `Melder_ID`.
2024-06-13 16:16:50 +02:00
e1ca2d927a feat: also remove windows like line breaks 2024-06-13 09:25:46 +02:00
07478cf6a3 feat: convert self-closing tags when sanitizing xml 2024-06-13 09:24:16 +02:00
3520806e79 feat: sort items with different content by database id 2024-06-13 09:20:54 +02:00
aa1ec6c114 test: add test for Meldung#id() 2024-06-12 18:10:07 +02:00
a905a816f5 style: use brighter blue to make message more visible 2024-06-12 18:03:22 +02:00
d318151055 docs: add section to README describing check-export command 2024-06-12 17:41:06 +02:00
fd45467513 feat: show items not equal within db and xml 2024-06-12 16:50:29 +02:00
58026f11d0 feat: extract ICD10 code 2024-06-12 16:48:58 +02:00
3e07408a7d feat: show entries with multiple meldung item in xml_daten 2024-06-12 15:51:23 +02:00
af4dec0279 feat: show entries missing in compared source 2024-06-12 13:42:02 +02:00
c5c0fcf6d4 feat: add function to resolve database id 2024-06-12 13:40:48 +02:00
ac2f73d0bb fix: ignore exports with typ -1 2024-06-11 20:26:40 +02:00
53cde34166 feat: use id as string 2024-06-11 20:19:41 +02:00
0dfc6a0083 feat: request data from db and compare with file 2024-06-11 19:43:13 +02:00
6617ce76a0 feat: parse LKR protocol file 2024-06-11 19:30:25 +02:00
2b94618f9f test: add simple test to check icd10 code mapping 2024-06-07 09:54:46 +02:00
9f5188ce5d feat: use PathBuf as argument type 2024-05-23 08:27:24 +02:00
af44351f09 feat: enable messages with 'histologie_zytologie' using optional flag 2024-05-22 16:09:45 +02:00
02497cd007 refactor: replace deprecated method 2024-05-22 10:39:53 +02:00
38f9fe3628 chore: code cleanup 2024-05-22 10:26:35 +02:00
ab15e5c9ff feat: ignore messages containing 'histologie_zytologie' 2024-05-21 16:11:54 +02:00
180d808dd4 fix: include older exported versions instead of skipping 2024-05-16 17:32:59 +02:00
655995070c feat: do not include external diagnoses by default 2024-05-16 12:33:53 +02:00
3684ff8172 feat: add export with semicolon as separator 2024-04-03 19:47:30 +02:00
5a59deb75d feat: limit connection timeout 2024-03-13 17:58:17 +01:00
f3c08a972b feat: ignore items after optional export date param 2024-03-13 17:57:37 +01:00
2ee397d4b4 feat: print out sum 2024-03-12 15:24:46 +01:00
88cd49db47 refactor: extract methods 2024-02-29 07:31:57 +01:00
f8037caaf9 refactor: use len() instead of iter().count() 2024-02-29 07:06:35 +01:00
716b666153 refactor: use filter_map() 2024-02-28 17:14:04 +01:00
5a162bc502 refactor: use matches!() macro 2024-02-28 17:13:32 +01:00
31d8c9b6b6 feat: display pat ID and diagnosis date in compare subcommand 2024-02-28 16:53:21 +01:00
540a7c7048 feat: include adt containing '<Menge_Weitere_Klassifikation>' 2024-02-28 16:52:05 +01:00
7d4b0ac085 feat: add compare sub command for csv file and database 2024-02-28 15:15:23 +01:00
560e93bcb7 feat: add success message 2024-02-28 13:26:20 +01:00
200a042e05 feat: export data from database into OPAL-like CSV file 2024-02-28 13:15:44 +01:00
97bfb383bd fix: change command about message 2024-02-28 12:22:05 +01:00
dbe28df958 chore: reformat sql query 2024-02-28 12:21:11 +01:00
6ce1563bef feat: improve query execution speed 2024-02-23 15:15:38 +01:00
0f7dff2d16 feat: add sub command to request values from database 2024-02-23 14:55:38 +01:00
0037e6c8bb Initial commit 2024-02-23 12:50:13 +01:00