diff options
| author | Paul-Christian Volkmer | 2023-04-06 10:24:18 +0200 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2023-04-06 10:24:18 +0200 |
| commit | 68125cd20c40e8fc24bf38d8a94b773146bf82ff (patch) | |
| tree | 933e902b8fb902a7cdf5b42829f8cea54fca2113 | |
| parent | 425e8067b60024256437a5ee4180efdd9d134022 (diff) | |
Füge Klassendiagramme zu README.md hinzu
| -rw-r--r-- | README.md | 68 |
1 files changed, 67 insertions, 1 deletions
@@ -24,8 +24,35 @@ Aktuell werden folgende Consent-Formulare unterstützt: * `MR.Consent` * `Excel-Formular` (UKW - Beinhaltet Consent-Angaben) -Eine Übernahme von Consent-Daten aus unbekannten Formularen ist nur manuell möglich. +```mermaid +classDiagram +class ConsentManagerService { +<<Interface>> + + applyConsent(Procedure) void + + canApply(Procedure) boolean +} +class ConsentManagerServiceFactory { + + ConsentManagerServiceFactory(IOnkostarApi) + + currentUsableInstance() ConsentManagerService +} +class MrConsentManagerService { + + MrConsentManagerService(IOnkostarApi) + + canApply(Procedure) boolean + + applyConsent(Procedure) void +} +class UkwConsentManagerService { + + UkwConsentManagerService(IOnkostarApi) + + canApply(Procedure) boolean + + applyConsent(Procedure) void +} + +ConsentManagerServiceFactory ..> MrConsentManagerService : «create» +ConsentManagerServiceFactory ..> UkwConsentManagerService : «create» +MrConsentManagerService ..|> ConsentManagerService +UkwConsentManagerService ..|> ConsentManagerService +``` +Eine Übernahme von Consent-Daten aus unbekannten Formularen ist nur manuell möglich. ## Therapieplan @@ -66,6 +93,45 @@ Anschließend ist das Mapping in `DefaultMtbService` in der Methode `procedureTo ... ``` +```mermaid +classDiagram + +class MtbService { +<<Interface>> + + getProtocol(List~Procedure~) String + + procedureToProtocolMapper(Procedure) ProcedureToProtocolMapper +} +class DefaultMtbService { + + DefaultMtbService(IOnkostarApi) + + getProtocol(List~Procedure~) String + + procedureToProtocolMapper(Procedure) ProcedureToProtocolMapper +} +class MrMtbAnmeldungToProtocolMapper { + + MrMtbAnmeldungToProtocolMapper(IOnkostarApi) + + apply(Procedure) Optional~String~ +} +class OsTumorkonferenzToProtocolMapper { + + OsTumorkonferenzToProtocolMapper() + + apply(Procedure) Optional~String~ +} +class OsTumorkonferenzVarianteUkwToProtocolMapper { + + OsTumorkonferenzVarianteUkwToProtocolMapper() + + apply(Procedure) Optional~String~ +} +class ProcedureToProtocolMapper { +<<Interface>> + +} + +DefaultMtbService ..|> MtbService +DefaultMtbService ..> MrMtbAnmeldungToProtocolMapper : «create» +DefaultMtbService ..> OsTumorkonferenzToProtocolMapper : «create» +DefaultMtbService ..> OsTumorkonferenzVarianteUkwToProtocolMapper : «create» +MrMtbAnmeldungToProtocolMapper ..|> ProcedureToProtocolMapper +OsTumorkonferenzToProtocolMapper ..|> ProcedureToProtocolMapper +OsTumorkonferenzVarianteUkwToProtocolMapper ..|> ProcedureToProtocolMapper +``` + Idealerweise werden entsprechende UnitTests hinzugefügt. ### Mapping Systemtherapie-Formular zu Prozedurwerten |
