Commit Graph

288 Commits

Author SHA1 Message Date
Daniel Kraus a29ee55003 Fix parsing joint lines with time point and lab items.
- VERBESSERT: Unkonventionell ausgegebene Laborwerte (v.a. Cyclosporin-A vor Gabe) wurden nicht richtig erkannt.
2015-09-23 21:12:34 +02:00
Daniel Kraus c83b8726cc Update Bovender to 0.3.3. 2015-09-21 06:05:43 +02:00
Daniel Kraus 8717efdde5 Prepare release 2.1.3. 2015-09-18 17:24:38 +02:00
Daniel Kraus 7997e307fa Fix handling extreme values.
- VERBESSERT: Extreme Werte (mit "<" oder ">") wurden nicht sehr schön formatiert.
2015-09-18 17:22:04 +02:00
Daniel Kraus 7a5041e04c Fix ciclosporin spelling in clinic style.
- VERBESSERT: CsA-Talspiegel tauchte nicht in der Ausgabe auf.
2015-09-18 11:22:34 +02:00
Daniel Kraus 68d8c81951 Prepare release 2.1.2. 2015-09-11 21:13:51 +02:00
Daniel Kraus 921edd7920 Update clinic style.
- VERBESSERT: Ambulanzstil überarbeitet.
2015-09-11 21:09:13 +02:00
Daniel Kraus 1e168ba861 Rename parameters.
- GEÄNDERT: Sammelurin-Proteinurie als Prot abgekürzt.
2015-09-11 21:08:31 +02:00
Daniel Kraus f58a13117c Update Bovender to 0.3.1. 2015-09-09 21:45:55 +02:00
Daniel Kraus 3f71c7a779 Fix ItemCommentView so that all text is initially selected.
- VERBESSERT: Evtl. vorgegebener Kommentartext wird jetzt automatisch markiert, damit er b.B. einfach durch Lostippen überschrieben werden kann.
2015-09-08 06:05:27 +02:00
Daniel Kraus 6fe2a41932 Prepare release 2.1.1. 2015-09-07 21:57:05 +02:00
Daniel Kraus 2f60c2c5d1 Fix filling in comments.
- VERBESSERT: Fehler bei der Kommentaraufforderung wurden behoben.
2015-09-07 21:17:27 +02:00
Daniel Kraus 3ce046a238 Remove extraneous field from DocumentWriter. 2015-09-07 19:42:04 +02:00
Daniel Kraus 4ab48ff596 Prepare release 2.1.0. 2015-09-06 18:16:55 +02:00
Daniel Kraus 95dfa95562 Add respository link to AboutView and AboutViewModel. 2015-09-06 12:06:39 +02:00
Daniel Kraus c733c238de Implement highlighting for item comments. 2015-09-06 11:48:43 +02:00
Daniel Kraus bf15d264ba Activate zaaReloaded tab after loading demo document. 2015-09-06 11:40:00 +02:00
Daniel Kraus 687a5cce20 Fix CanFormat method of SettingsRepositoryViewModel. 2015-09-06 08:22:00 +02:00
Daniel Kraus 06aa271056 Move command methods to static Commands class. 2015-09-06 08:21:31 +02:00
Daniel Kraus 1d03ff0bbc Update clinic and ward styles with comments. 2015-09-06 07:11:15 +02:00
Daniel Kraus 78ceeb5017 Implement first-run wizard. 2015-09-05 19:47:58 +02:00
Daniel Kraus c141fcff58 Fix crash if reference string is in fact not a reference.
E.g. NT-proBNP has a remark "[s. Bem.]" which represents neither
reference limits nor a categorical normal value.

- VERBESSERT: Kein Absturz mehr, wenn Labordaten NT-proBNP enthalten.
2015-09-04 21:12:50 +02:00
Daniel Kraus b04dc2cb4b Fix column errors in parameters.txt.
- VERBESSERT: Bug in der Markierung von speziellen Parametern, um immer Referenzbereiche auszugeben.
2015-09-04 20:19:42 +02:00
Daniel Kraus 01c971bef5 Bullet-proof time stamp detection.
Sometimes the "Labor" is not followed by a colon.
2015-09-04 17:59:36 +02:00
Daniel Kraus 8c4de2915a Make tests pass again (minor glitches). 2015-09-04 17:59:04 +02:00
Daniel Kraus dccb3145db Merge branch 'item-comments' into develop
Conflicts:
	zaaReloaded2/Formatter/Formatter.cs
	zaaReloaded2/zaaReloaded2.csproj
2015-09-04 17:08:13 +02:00
Daniel Kraus 16558cc9a1 Fix Daniel's style. 2015-09-04 11:37:54 +02:00
Daniel Kraus e8959d1024 Fix parameters. 2015-09-04 11:35:44 +02:00
Daniel Kraus 01f7538122 Fix autodetection. 2015-09-04 11:34:14 +02:00
Daniel Kraus 3a9969e439 Merge branch 'autodetect' into develop 2015-09-03 21:53:49 +02:00
Daniel Kraus 2ca7f4211d Implement lab data autodetection.
- NEU: Wenn kein Text markiert ist, wird ein Versuch unternommen, die Labordaten im Arztbrief automatisch zu erkennen; dabei wird der erste erkannte Lauris-Laborblock formatiert.
2015-09-03 21:47:21 +02:00
Daniel Kraus 054a4db2e2 Prepare release 2.0.1. 2015-09-02 21:16:20 +02:00
Daniel Kraus 0ab8ea0b19 Do not crash on opening document when embedded.
- VERBESSERT: Kein Absturz mehr, wenn das Demo-Dokument innerhalb der ZAA geöffnet wird (Exception ID 65a5c34e).
2015-09-02 06:14:59 +02:00
Daniel Kraus 607857706b Add B12 and folic acid to clinic style.
- VERBESSERT: Vitamin B12 und Folsäure in den Parameterkatalog aufgenommen und zum Ambulanzstil hinzugefügt.
2015-09-02 05:57:42 +02:00
Daniel Kraus 3afd4db1a2 Add B12 and folic acid to parameters; sort parameters. 2015-09-02 05:55:19 +02:00
Daniel Kraus e366226a64 Draft concept. 2015-09-02 05:52:56 +02:00
Daniel Kraus adaf75c5fc Fix accelerator key in PreferencesView. 2015-09-01 06:03:35 +02:00
Daniel Kraus 1efaacfa97 Add comment to RegisterTextBoxSelectAll. 2015-08-31 22:03:21 +02:00
Daniel Kraus 9404d58809 Implement user preferences and typist mode.
- NEU: Sekretariatsmodus (siehe 'Einstellungen'), um die Nachfrage nach Zusatz-Kommentaren zu unterdrücken.
2015-08-31 22:01:59 +02:00
Daniel Kraus 3f0b49815a Fix binding in ItemCommentView. 2015-08-31 12:29:07 +02:00
Daniel Kraus ad7ea1457c Make TextBoxes select all text on focus. 2015-08-31 12:28:50 +02:00
Daniel Kraus 1cf3f9be6a Prepare release 2.0.0 2015-08-30 20:57:28 +02:00
Daniel Kraus d86f910208 Several fixes in views and view models. 2015-08-30 20:54:08 +02:00
Daniel Kraus dca55f6b57 Add precision info for hematology items. 2015-08-30 20:39:47 +02:00
Daniel Kraus 644c9a513b Prevent crash on running NextColumn element.
- FEHLERBEHEBUNG: Kein Absturz mehr, wenn zwei Spalten formatiert werden.
2015-08-30 20:36:59 +02:00
Daniel Kraus 9068dde1c3 Implement ItemComment view model and view.
- NEU: Optionale Kommentare zu Laborwerten.
2015-08-30 20:32:56 +02:00
Daniel Kraus 02b4bc07a3 Working comments with CommentPool. 2015-08-30 07:48:32 +02:00
Daniel Kraus a89a8103e5 Initial implementation of ItemComments. 2015-08-29 03:16:44 +02:00
Daniel Kraus 6e969dacd9 Make regexes in LaurisItem static and readonly.
In order to speed parsing up a little bit.
2015-08-28 17:21:19 +02:00
Daniel Kraus 66ad3886da Workaround for commas in Lauris values.
- VERBESSERT: Kein Crash mehr, falls sich ein Komma in den Lauris-Block einschleicht.
2015-08-28 17:18:42 +02:00
Daniel Kraus 8a1e236bd8 Amend parameters list. 2015-08-28 14:13:49 +02:00
Daniel Kraus 2e2bac7213 Add electrophoresis parameters, update clinic style. 2015-08-28 10:12:44 +02:00
Daniel Kraus 87af0a5684 Fix clinic style. 2015-08-26 20:42:50 +02:00
Daniel Kraus efeab3f70b Fix ACR and TPCR precision. 2015-08-26 20:40:44 +02:00
Daniel Kraus 8f922217a4 Prepare release 2.0.0-beta.5. 2015-08-25 20:34:26 +02:00
Daniel Kraus cf01130491 Implement preferred precisions.
- NEU: Für bestimmte Laborwerte ist die bevorzugte Nachkommastellenzahl hinterlegt (z.B. Kreatinin mit nur einer Nachkommastelle).
2015-08-25 20:25:29 +02:00
Daniel Kraus 1e00076210 Update clinic style.
- VERBESSERUNG: NepA-Stil überarbeitet.
2015-08-25 15:55:56 +02:00
Daniel Kraus f88adf62d2 Add Cystatin C (Latex Gen. 2) parameter.
- VERBESSERT: Cystatin C (Latex Gen. 2) als bekannten Parameter hinzugefügt.
2015-08-25 15:52:34 +02:00
Daniel Kraus 36e10d05fd Add AbnormalStyle.Underline; use toggle buttons. 2015-08-25 06:12:53 +02:00
Daniel Kraus cde32f0a7e Implement styling of abnormal values.
- NEU: Auszeichnung pathologischer Werte kann eingestellt werden.
2015-08-24 23:17:49 +02:00
Daniel Kraus 0eed93f902 Prepare release 2.0.0-beta.4 2015-08-23 09:17:44 +02:00
Daniel Kraus 005a245fae Improve Daniel's style. 2015-08-21 11:30:28 +02:00
Daniel Kraus da1976e093 Fixes to clinic style.
- VERBESSERUNG: Ambulanz-Stil überarbeitet.
2015-08-21 11:17:41 +02:00
Daniel Kraus cb790191fb Add fT3 and fT4 to parameters.
- VERBESSERUNG: Aliasse für fT3 und fT4.
2015-08-21 11:17:21 +02:00
Daniel Kraus 4c818010a7 Prepare release 2.0.0-beta.3. 2015-08-20 22:02:13 +02:00
Daniel Kraus f6e5087e3c More fixes to clinic defaults. 2015-08-20 21:59:51 +02:00
Daniel Kraus 3fcb6c1af5 Always load default settings when deserializing SettingsRepository.
- VERBESSERT: Bei Updates werden neue eingebaute Stile jetzt immer berücksichtigt.
2015-08-20 21:51:31 +02:00
Daniel Kraus 7eaabb7f13 Amend Lauris timepoint parsing to accept "Labor:" prefix.
- VERBESSERUNG: Datumseilen, die mit "Labor:" beginnen, werden nicht länger ignoriert.
2015-08-20 21:04:25 +02:00
Daniel Kraus 058de8e8cf Fix parsing of negative limits in Lauris parameters.
- VERBESSERUNG: Keine Fehlermeldung mehr, falls Referenzbereiche negative Werte enthalten (wie z.B. Base Excess) [#650db4d2]
2015-08-20 16:54:18 +02:00
Daniel Kraus 6d62e619eb Fix parameters and units for TPCR/ACR.
- VERBESSERUNG: Alias ACR für Albumin-Krea-Quotient; mg/g statt mg/g Crea.
2015-08-20 16:45:42 +02:00
Daniel Kraus b7d413c412 Change file name of downloaded update installer. 2015-08-20 16:45:06 +02:00
Daniel Kraus 0d94d77483 Update clinic defaults. 2015-08-20 14:30:05 +02:00
Daniel Kraus ac486bbcee Add add-in name and version to application caption. 2015-08-18 09:00:26 +02:00
Daniel Kraus 94ebf5508b Use UndoRecord.
- VERBESSERT: Formatierung erscheint nur noch als 1 Undo-Schritt.
2015-08-17 19:41:07 +02:00
Daniel Kraus 6c99224814 Prepare release 2.0.0-beta.2 2015-08-16 16:36:36 +02:00
Daniel Kraus fbcb060f12 Omit space before units starting with a slash.
- VERBESSERUNG: Einheiten, die mit einem Schrägstrich beginnen, werden nicht mehr mit Leerzeichen vom Wert getrennt.
2015-08-16 16:33:18 +02:00
Daniel Kraus 221509520d Fix markup detection DocumentWriter. 2015-08-16 16:25:53 +02:00
Daniel Kraus 392de61b74 Omit superfluous newline in output. 2015-08-16 05:17:24 +02:00
Daniel Kraus 2745ab819c Do not create character style (currently not used). 2015-08-16 05:17:06 +02:00
Daniel Kraus 2e8c881e1f Clean up assembly settings. 2015-08-15 20:15:52 +02:00
Daniel Kraus 92a8faa972 Implement text styles.
- NEU: Überschriften und pathologische Werte werden jetzt besonders ausgezeichnet (fett).
2015-08-15 20:14:24 +02:00
Daniel Kraus 4cb2999297 Create icons. 2015-08-14 20:00:21 +02:00
Daniel Kraus a609c7f93c Fix paragraph replacements in Daniel's style.
- VERBESSERT: Floskel-Ersetzungen in Daniels Spezial.
2015-08-14 19:27:29 +02:00
Daniel Kraus d5340d1b3a Fix ElementView.
- VERBESSERT: Element-Bearbeitungsfenster.
2015-08-14 18:12:34 +02:00
Daniel Kraus 91b7aa70e9 Update ward style.
- GEÄNDERT: Diff.-BB-Werte im Stations-Stil in Hämatologie-Zeile integriert.
2015-08-14 18:11:58 +02:00
Daniel Kraus 863dfa071a Prevent running the formatter without appropriate selection.
- VERBESSERT: Formatieren läßt sich nicht mehr starten, ohne daß Labor-Text markiert ist.
2015-08-14 17:04:50 +02:00
Daniel Kraus 7a105d7aad Do not include material for explicitly selected items.
- VERÄNDERUNG: Laborwerte, die explizit (also nicht mit "*") ausgewählt werden, werden jetzt ohne vorangestelltes Material-Kürzel eingefügt (z.B. jetzt "Sammelurin: Volumen" anstatt "Sammelurin: SU-Volumen").
2015-08-14 16:01:52 +02:00
Daniel Kraus 32d4e8d955 Implement bold font; make tests pass again.
- NEU: Überschriften und pathologische Werte werden fett gedruckt.
- FIX: Kleinere Bugfixes.
2015-08-14 11:22:11 +02:00
Daniel Kraus 193a83a769 Prepare release 2.0.0-beta.1 2015-08-13 20:50:53 +02:00
Daniel Kraus 8f9eb83e9d Use 'PTT' rather than 'aPTT'. 2015-08-13 19:57:53 +02:00
Daniel Kraus 65ac72fb50 Use serialized Settings as defaults; fixes. 2015-08-13 19:20:20 +02:00
Daniel Kraus 63447def9b Multiple fixes for Views and ViewModels. 2015-08-13 17:59:23 +02:00
Daniel Kraus 3a615eda8b Fix demoting elements while moving up. 2015-08-12 22:54:29 +02:00
Daniel Kraus a9d0e8ee7e Add IsExpanded property to ElementViewModel. 2015-08-12 22:29:31 +02:00
Daniel Kraus 2bb0452a87 Implement moving of elements.
- NEU: Elemente können verschoben werden.
2015-08-12 22:03:25 +02:00
Daniel Kraus 12c2412e38 Adjust size of SettingsView window. 2015-08-12 17:55:19 +02:00
Daniel Kraus e0b749382e Use buttons in SettingsView. 2015-08-12 17:54:23 +02:00
Daniel Kraus 6f65340ca5 Use icons in SettingsRepositoryView. 2015-08-12 15:50:01 +02:00
Daniel Kraus f2cb30fabb Fix FormatElement labels if no content. 2015-08-12 10:05:50 +02:00
Daniel Kraus 1afa9bb14f Fix views.
Needed to set all WindowStyles to ToolWindow and make the windows
topmost because Word and WPF do not play together all too well.
2015-08-12 10:04:59 +02:00
Daniel Kraus 03a62ddf5a Fix SettingsRepositoryView layout. 2015-08-11 22:00:34 +02:00
Daniel Kraus 5a0923e8e8 Implement reset settings feature.
- NEU: Auf Werkseinstellungen zurücksetzen.
2015-08-11 21:39:21 +02:00
Daniel Kraus 0708f2a2b3 Implement import and export of Settings.
- NEU: Stile können importiert und exportiert werden.
2015-08-11 21:22:34 +02:00
Daniel Kraus 00c60ba0ad Comment on serialization. 2015-08-11 19:51:23 +02:00
Daniel Kraus 6af2243660 Do not return Null from SettingsRepository.Load(). 2015-08-11 16:16:26 +02:00
Daniel Kraus c9fc4a5fae Implement serialization of Settings and SettingsRepository.
- FIX: Stile werden jetzt gespeichert.
2015-08-11 16:12:39 +02:00
Daniel Kraus 53d13b394e Do not expand elements tree by default. 2015-08-10 09:18:36 +02:00
Daniel Kraus 947b53cf97 Fix material convertsion and units detection. 2015-08-10 06:55:57 +02:00
Daniel Kraus 6c9f003134 Do not build headers from empty time stamps. 2015-08-09 21:21:56 +02:00
Daniel Kraus 51bfdc760e Remove superfluous field from FormatElementViewModel. 2015-08-09 21:12:07 +02:00
Daniel Kraus a009c1ab39 Add control elements for columns.
- NEU: Steuer-Elemente für Spalten.
2015-08-09 20:54:43 +02:00
Daniel Kraus 5833e0fcb7 Fix dev path in ExceptionViewModel. 2015-08-09 20:52:35 +02:00
Daniel Kraus 750fb093b1 Show Word version and build number in exceptions. 2015-08-09 20:48:17 +02:00
Daniel Kraus b59c9f2898 Wire up the views. 2015-08-09 13:24:44 +02:00
Daniel Kraus 257e3e8568 Fix deleting settings. 2015-08-08 06:33:01 +02:00
Daniel Kraus c6121353e4 Make SettingsTest pass. 2015-08-07 21:40:12 +02:00
Daniel Kraus bde85e5651 Fix views and view models. 2015-08-07 21:37:14 +02:00
Daniel Kraus edaf88c4cd Implement blacklisting feature.
- NEU: Parameter können im Thesaurus als "blacklisted" markiert werden und werden dann bei Verwendung einer Wildcard ("*") nicht berücksichtigt.
2015-08-06 07:47:44 +02:00
Daniel Kraus b6c33971bd Fix thesaurus.
- FIX: Mehrere Thesaurus-Fehler behoben.
2015-08-06 06:42:08 +02:00
Daniel Kraus 476f2d69be Improve date and time header (some tests failing now).
- NEU: Datumsangaben werden in eine Zeile "Laborwerte vom ..." eingebettet.
2015-08-05 22:04:07 +02:00
Daniel Kraus 2cefede3c0 Output formatting.
- NEU: Formatierung der Ausgabe mit Absatzvorlage.
2015-08-05 21:52:06 +02:00
Daniel Kraus d0bd7dd2a5 Make sure to remember last used setting. 2015-08-05 21:43:08 +02:00
Daniel Kraus ed43497179 Implement copying of elements. 2015-08-05 21:22:03 +02:00
Daniel Kraus 1205958eb1 Implement test to delete child element and make it pass. 2015-08-05 20:36:31 +02:00
Daniel Kraus 60296602a9 Implement DeleteElementCommand. 2015-08-05 20:28:09 +02:00
Daniel Kraus 742a588083 Make tests pass again (except not implemented ones). 2015-08-05 20:02:02 +02:00
Daniel Kraus b7fdf87ea5 Close view after sending UseSettingsMessage. 2015-08-05 06:47:30 +02:00
Daniel Kraus 880e8b0bdc Fix importing of actual Word text.
- FIX: Datenimport funktioniert jetzt auch mit Word-Text und nicht nur in den Tests.
2015-08-05 06:46:52 +02:00
Daniel Kraus 06a74992ef Make tests pass with refactored ZaaImporter. 2015-08-05 06:15:07 +02:00
Daniel Kraus 285c6a2555 Add CanRun property to Formatter. 2015-08-04 23:26:21 +02:00
Daniel Kraus 75c9c984c6 Refactor and harden ZaaImporter. 2015-08-04 23:21:38 +02:00
Daniel Kraus ae9cf7fa2e Improve demo document. 2015-08-04 20:17:36 +02:00
Daniel Kraus 33d453cf73 Use ViewModelListBox dynamic resource. 2015-08-04 06:25:13 +02:00
Daniel Kraus 8d6ed32a84 Fix LastSelected and LastSelectedElement properties. 2015-08-04 06:21:48 +02:00
Daniel Kraus 204139d16b Prepare release 2.0.0-alpha.5. 2015-08-04 02:46:12 +02:00
Daniel Kraus 41b155e8be Begin implemenation of format and choose style commands. 2015-08-04 02:43:17 +02:00
Daniel Kraus b6209731ec Fix salutation regex in DanielsStyle.
- FIX: Daniels Spezial löscht nicht mehr die Unterschriften.
2015-08-04 01:19:19 +02:00
Daniel Kraus a128b76522 Implement tests for SettingsViewModel add and add child commands. 2015-08-04 01:17:14 +02:00
Daniel Kraus 805da69d47 Implement passing test for ElementPickerViewModel. 2015-08-03 14:31:35 +02:00
Daniel Kraus 8437f0907c Implement Demo feature.
- NEU: Eingebautes Demo-Dokument zum Ausprobieren.
2015-08-03 12:11:30 +02:00
Daniel Kraus db8f88c563 Fix SettingsViewModelTest.CannotAddChildElementToFormatElement. 2015-08-03 06:32:05 +02:00
Daniel Kraus e4edd0f197 Prepare release 2.0.0-alpha.4. 2015-08-02 22:04:58 +02:00
Daniel Kraus 23acb13019 Improve Daniel's style. 2015-08-02 22:01:51 +02:00
Daniel Kraus 1e4c3681f2 Implement ElementPickerViewModel; initial SettingsViewModelTest. 2015-08-02 21:51:58 +02:00
Daniel Kraus 9fd0907310 Implement unique IDs for settings. 2015-08-02 07:19:12 +02:00
Daniel Kraus 286ddb1641 Fix cloning of SettingsViewModels. 2015-08-02 07:11:16 +02:00
Daniel Kraus d0be7524d3 Make some classes ICloneable; implement SettingsRepositoryViewModel. 2015-08-01 21:23:56 +02:00
Daniel Kraus 09b3decd03 Prepare release 2.0.0-alpha.3 2015-07-31 17:23:41 +02:00
Daniel Kraus 12cd58180f Create rudimentary view models, default settings. 2015-07-31 17:19:49 +02:00
Daniel Kraus a725246f27 Use large ribbon buttons rather than splitbutton. 2015-07-28 18:19:54 +02:00