1937 lines
222 KiB
XML
1937 lines
222 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
|
|
<diagram name="ApiGateway — implementation classes" id="ApiGateway---implementation-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="2476" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n59" value="ApiGateway — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n60" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n61" value="«class» AuthenticationController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.AuthenticationController" sourceFiles="src/ApiGateway/Controllers/AuthenticationController.cs" link="../../src/ApiGateway/Controllers/AuthenticationController.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n62" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n61">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n63" value="+ AuthenticationController(PrototypeAccounts accounts, IOptionsMonitor<BearerTokenOptions> options) + Login(LoginRequest request): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n61">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n61-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n61">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n64" value="«record» LoginRequest ApiGateway.Controllers.AuthenticationController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.AuthenticationController.LoginRequest" sourceFiles="src/ApiGateway/Controllers/AuthenticationController.cs" link="../../src/ApiGateway/Controllers/AuthenticationController.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n65" value="+ AccountId: string {get, init} + Password: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n64">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n66" value="+ LoginRequest(string AccountId, string Password)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n64">
|
|
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n64-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n64">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="136" />
|
|
<mxPoint as="targetPoint" x="520" y="136" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n67" value="«class» HealthOverviewController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.HealthOverviewController" sourceFiles="src/ApiGateway/Controllers/HealthOverviewController.cs" link="../../src/ApiGateway/Controllers/HealthOverviewController.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="226" />
|
|
</mxCell>
|
|
<mxCell id="n68" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n67">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n69" value="+ HealthOverviewController(IHttpClientFactory clients) + GetOverview(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n67">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n67-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n67">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n70" value="«class» InsightsController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.InsightsController" sourceFiles="src/ApiGateway/Controllers/InsightsController.cs" link="../../src/ApiGateway/Controllers/InsightsController.cs">
|
|
<mxGeometry as="geometry" x="2050" y="210" width="520" height="244" />
|
|
</mxCell>
|
|
<mxCell id="n71" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n70">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n72" value="+ InsightsController(IHttpClientFactory clients) + GetSummary(Guid patientId, CancellationToken cancellationToken): Task + GetTrend(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n70">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="126" />
|
|
</mxCell>
|
|
<mxCell id="n70-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n70">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n73" value="«class» MeasurementGuidanceController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
|
<mxGeometry as="geometry" x="70" y="634" width="520" height="154" />
|
|
</mxCell>
|
|
<mxCell id="n74" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n73">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n75" value="+ Get(string? setting, string? activityCondition): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n73">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n73-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n73">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n76" value="«record» GuidanceSource ApiGateway.Controllers.MeasurementGuidanceController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController.GuidanceSource" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
|
<mxGeometry as="geometry" x="730" y="634" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n77" value="+ Title: string {get, init} + Url: string {get, init} + UpdatedOn: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n76">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n78" value="+ GuidanceSource(string Title, string Url, string UpdatedOn)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n76">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n76-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n76">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n79" value="«record» GuidanceStep ApiGateway.Controllers.MeasurementGuidanceController" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.MeasurementGuidanceController.GuidanceStep" sourceFiles="src/ApiGateway/Controllers/MeasurementGuidanceController.cs" link="../../src/ApiGateway/Controllers/MeasurementGuidanceController.cs">
|
|
<mxGeometry as="geometry" x="1390" y="634" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n80" value="+ Order: int {get, init} + Topic: string {get, init} + Instruction: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n79">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n81" value="+ GuidanceStep(int Order, string Topic, string Instruction)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n79">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n79-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n79">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n82" value="«class» ObservationController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.ObservationController" sourceFiles="src/ApiGateway/Controllers/ObservationController.cs" link="../../src/ApiGateway/Controllers/ObservationController.cs">
|
|
<mxGeometry as="geometry" x="2050" y="634" width="520" height="424" />
|
|
</mxCell>
|
|
<mxCell id="n83" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n82">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n84" value="+ ObservationController(IHttpClientFactory clients) + RecordObservation(Guid patientId, CancellationToken cancellationToken): Task + DeleteObservation(Guid observationId, CancellationToken cancellationToken): Task + UpdateObservation(Guid observationId, CancellationToken cancellationToken): Task + PatchObservation(Guid observationId, CancellationToken cancellationToken): Task + GetObservation(Guid observationId, CancellationToken cancellationToken): Task + GetLatest(Guid patientId, CancellationToken cancellationToken): Task + GetByPeriod(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n82">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="306" />
|
|
</mxCell>
|
|
<mxCell id="n82-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n82">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n85" value="«class» PatientController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.PatientController" sourceFiles="src/ApiGateway/Controllers/PatientController.cs" link="../../src/ApiGateway/Controllers/PatientController.cs">
|
|
<mxGeometry as="geometry" x="70" y="1238" width="520" height="280" />
|
|
</mxCell>
|
|
<mxCell id="n86" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n85">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n87" value="+ PatientController(IHttpClientFactory clients) + CreatePatient(CancellationToken cancellationToken): Task + GetOwnPatient(CancellationToken cancellationToken): Task + GetPatient(Guid patientId, CancellationToken cancellationToken): Task + UpdatePatient(Guid patientId, CancellationToken cancellationToken): Task - ForwardAsync(HttpMethod method, string path, CancellationToken cancellationToken): Task - WriteFailureAsync(int status): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n85">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="162" />
|
|
</mxCell>
|
|
<mxCell id="n85-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n85">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n88" value="«class» ProfessionalController ApiGateway.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Controllers.ProfessionalController" sourceFiles="src/ApiGateway/Controllers/ProfessionalController.cs" link="../../src/ApiGateway/Controllers/ProfessionalController.cs">
|
|
<mxGeometry as="geometry" x="730" y="1238" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n89" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n88">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n90" value="+ ProfessionalController(ProfessionalAssignments assignments) + GetAssignedPatients(): IActionResult" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n88">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n88-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n88">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n91" value="«class» InternalServiceAuthenticationHandler ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.InternalServiceAuthenticationHandler" sourceFiles="src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs" link="../../src/ApiGateway/Security/InternalServiceAuthenticationHandler.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1238" width="520" height="226" />
|
|
</mxCell>
|
|
<mxCell id="n92" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n91">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n93" value="+ InternalServiceAuthenticationHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, IConfiguration configuration) # HandleAuthenticateAsync(): Task<AuthenticateResult>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n91">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n91-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n91">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n94" value="«class» PatientAccessMiddleware ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PatientAccessMiddleware" sourceFiles="src/ApiGateway/Security/PatientAccessMiddleware.cs" link="../../src/ApiGateway/Security/PatientAccessMiddleware.cs">
|
|
<mxGeometry as="geometry" x="2050" y="1238" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n95" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n94">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n96" value="+ PatientAccessMiddleware(RequestDelegate next) + InvokeAsync(HttpContext context, IHttpClientFactory clients, IAuthorizationService authorization, ProfessionalAssignments assignments): Task" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n94">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n94-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n94">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n97" value="«class» ProfessionalAssignments ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.ProfessionalAssignments" sourceFiles="src/ApiGateway/Security/ProfessionalAssignments.cs" link="../../src/ApiGateway/Security/ProfessionalAssignments.cs">
|
|
<mxGeometry as="geometry" x="70" y="1698" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n98" value="- assignments: Dictionary<string, Guid[]> {readonly}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n97">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n99" value="+ ProfessionalAssignments(IConfiguration configuration) + GetPatients(string accountId): IReadOnlyList<Guid> + IsAssigned(string accountId, Guid patientId): bool" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n97">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n97-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n97">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n100" value="«class» PrototypeAccount ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PrototypeAccount" sourceFiles="src/ApiGateway/Security/PrototypeAccounts.cs" link="../../src/ApiGateway/Security/PrototypeAccounts.cs">
|
|
<mxGeometry as="geometry" x="730" y="1698" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n101" value="+ AccountId: string {get, set} + Role: string {get, set} + PasswordHash: string {get, set}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n100">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n102" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n100">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n100-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n100">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n103" value="«class» PrototypeAccounts ApiGateway.Security" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f8cecc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Security.PrototypeAccounts" sourceFiles="src/ApiGateway/Security/PrototypeAccounts.cs" link="../../src/ApiGateway/Security/PrototypeAccounts.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1698" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n104" value="- accounts: Dictionary<string, PrototypeAccount> {readonly} - hasher: PasswordHasher<PrototypeAccount> {readonly} - dummy: PrototypeAccount {readonly}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n103">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n105" value="+ PrototypeAccounts(IConfiguration configuration) + Verify(string accountId, string password): PrototypeAccount?" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n103">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n103-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n103">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n106" value="«class» Program ApiGateway" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="ApiGateway.Program" sourceFiles="src/ApiGateway/Program.cs" link="../../src/ApiGateway/Program.cs">
|
|
<mxGeometry as="geometry" x="2050" y="1698" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n107" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n106">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n108" value="+ Main(string[] args): void {static} - GetBaseUri(IConfiguration configuration, string service): Uri {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n106">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n106-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n106">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n109" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="2086" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n110" value="«framework reference» AuthenticationHandler<AuthenticationSchemeOptions>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="2086" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n111" value="«framework reference» IHttpClientFactory" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="1390" y="2086" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n112" value="«framework reference» IConfiguration" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="2050" y="2086" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n113" value="«framework reference» ILoggerFactory" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="2196" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n114" value="«framework reference» UrlEncoder" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="2196" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n115" value="«framework reference» RequestDelegate" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="1390" y="2196" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e115-0" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n61" target="n64" relationship="nested">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n61" target="n103" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-2" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n73" target="n79" relationship="nested">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-3" value="nested classifier" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n73" target="n76" relationship="nested">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-4" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n79" target="n76" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-5" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n76" target="n79" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n88" target="n97" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n94" target="n97" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-8" value="accounts [0..*]; hasher [1]; dummy [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n103" target="n100" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-9" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n106" target="n91" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-10" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n106" target="n94" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-11" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n106" target="n97" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-12" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n106" target="n103" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-13" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n67" target="n111" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-14" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n70" target="n111" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-15" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n82" target="n111" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-16" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n85" target="n111" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-17" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n91" target="n112" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-18" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n97" target="n112" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-19" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n103" target="n112" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-20" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n91" target="n113" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-21" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n91" target="n114" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-22" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n94" target="n115" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n61" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n67" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-25" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n70" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-26" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n73" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-27" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n82" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-28" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n85" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-29" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n88" target="n109" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e115-30" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n91" target="n110" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n116" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="2341" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="PatientProfileService — implementation classes" id="PatientProfileService---implementation-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="1870" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n156" value="PatientProfileService — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n157" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n158" value="«class» PatientController PatientProfileService.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Controllers.PatientController" sourceFiles="src/PatientProfileService/Controllers/PatientController.cs" link="../../src/PatientProfileService/Controllers/PatientController.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="316" />
|
|
</mxCell>
|
|
<mxCell id="n159" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n158">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n160" value="+ PatientController(PatientApplicationService service) + CreatePatient(CreatePatientRequest request, CancellationToken cancellationToken): Task<ActionResult<PatientDto>> + GetByAccount(string accountId, CancellationToken cancellationToken): Task<ActionResult<PatientDto>> + GetPatient(Guid patientId, CancellationToken cancellationToken): Task<ActionResult<PatientDto>> + UpdatePatient(Guid patientId, UpdatePatientRequest request, CancellationToken cancellationToken): Task<ActionResult<PatientDto>> - ToDto(Patient patient): PatientDto {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n158">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="198" />
|
|
</mxCell>
|
|
<mxCell id="n158-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n158">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n161" value="«class» PatientApplicationService PatientProfileService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Application.PatientApplicationService" sourceFiles="src/PatientProfileService/Application/PatientApplicationService.cs" link="../../src/PatientProfileService/Application/PatientApplicationService.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="298" />
|
|
</mxCell>
|
|
<mxCell id="n162" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n161">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n163" value="+ PatientApplicationService(PatientRepository repository) + CreatePatientAsync(CreatePatientRequest request, string accountId, CancellationToken cancellationToken): Task<Patient> + GetByAccountAsync(string accountId, CancellationToken cancellationToken): Task<Patient?> + GetPatientAsync(Guid patientId, CancellationToken cancellationToken): Task<Patient?> + UpdatePatientAsync(Guid patientId, UpdatePatientRequest request, CancellationToken cancellationToken): Task<Patient?>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n161">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n161-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n161">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n164" value="«interface» PatientRepository PatientProfileService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Application.PatientRepository" sourceFiles="src/PatientProfileService/Application/PatientRepository.cs" link="../../src/PatientProfileService/Application/PatientRepository.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="280" />
|
|
</mxCell>
|
|
<mxCell id="n165" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n164">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n166" value="+ FindByAccountIdAsync(string accountId, CancellationToken cancellationToken): Task<Patient?> {abstract} + SaveAsync(Patient patient, CancellationToken cancellationToken): Task<Patient> {abstract} + FindByIdAsync(Guid patientId, CancellationToken cancellationToken): Task<Patient?> {abstract} + UpdateProfileAsync(Guid patientId, string name, string? contactInfo, CancellationToken cancellationToken): Task<bool> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n164">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="162" />
|
|
</mxCell>
|
|
<mxCell id="n164-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n164">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n167" value="«class» ProfileAlreadyExistsException PatientProfileService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Application.ProfileAlreadyExistsException" sourceFiles="src/PatientProfileService/Application/ProfileAlreadyExistsException.cs" link="../../src/PatientProfileService/Application/ProfileAlreadyExistsException.cs">
|
|
<mxGeometry as="geometry" x="2050" y="210" width="520" height="154" />
|
|
</mxCell>
|
|
<mxCell id="n168" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n167">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n169" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n167">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n167-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n167">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n170" value="«class» PatientDbContext PatientProfileService.Persistence" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Persistence.PatientDbContext" sourceFiles="src/PatientProfileService/Persistence/PatientDbContext.cs" link="../../src/PatientProfileService/Persistence/PatientDbContext.cs">
|
|
<mxGeometry as="geometry" x="70" y="706" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n171" value="+ Patients: DbSet<Patient> {get}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n170">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n172" value="+ PatientDbContext(DbContextOptions<PatientDbContext> options) # OnModelCreating(ModelBuilder modelBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n170">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n170-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n170">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n173" value="«class» SqlPatientRepository PatientProfileService.Persistence" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Persistence.SqlPatientRepository" sourceFiles="src/PatientProfileService/Persistence/SqlPatientRepository.cs" link="../../src/PatientProfileService/Persistence/SqlPatientRepository.cs">
|
|
<mxGeometry as="geometry" x="730" y="706" width="520" height="298" />
|
|
</mxCell>
|
|
<mxCell id="n174" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n173">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n175" value="+ SqlPatientRepository(PatientDbContext db) + SaveAsync(Patient patient, CancellationToken cancellationToken): Task<Patient> + FindByAccountIdAsync(string accountId, CancellationToken cancellationToken): Task<Patient?> + FindByIdAsync(Guid patientId, CancellationToken cancellationToken): Task<Patient?> + UpdateProfileAsync(Guid patientId, string name, string? contactInfo, CancellationToken cancellationToken): Task<bool>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n173">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n173-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n173">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n176" value="«class» Patient PatientProfileService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Domain.Patient" sourceFiles="src/PatientProfileService/Domain/Patient.cs" link="../../src/PatientProfileService/Domain/Patient.cs">
|
|
<mxGeometry as="geometry" x="1390" y="706" width="520" height="262" />
|
|
</mxCell>
|
|
<mxCell id="n177" value="+ AccountId: string? {get, set} + PatientId: Guid {get, set} + Name: string {get, set} + DateOfBirth: DateOnly {get, set} + ContactInfo: string? {get, set} + CreatedAt: DateTime {get, set} + UpdatedAt: DateTime {get, set}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n176">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="144" />
|
|
</mxCell>
|
|
<mxCell id="n178" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n176">
|
|
<mxGeometry as="geometry" x="0" y="226" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n176-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n176">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="226" />
|
|
<mxPoint as="targetPoint" x="520" y="226" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n179" value="«record» CreatePatientRequest PatientProfileService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Contracts.CreatePatientRequest" sourceFiles="src/PatientProfileService/Contracts/CreatePatientRequest.cs" link="../../src/PatientProfileService/Contracts/CreatePatientRequest.cs">
|
|
<mxGeometry as="geometry" x="2050" y="706" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n180" value="+ Name: string? {get, init} + DateOfBirth: DateOnly? {get, init} + ContactInfo: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n179">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n181" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n179">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n179-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n179">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n182" value="«record» PatientDto PatientProfileService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Contracts.PatientDto" sourceFiles="src/PatientProfileService/Contracts/PatientDto.cs" link="../../src/PatientProfileService/Contracts/PatientDto.cs">
|
|
<mxGeometry as="geometry" x="70" y="1184" width="520" height="226" />
|
|
</mxCell>
|
|
<mxCell id="n183" value="+ PatientId: Guid {get, init} + Name: string {get, init} + DateOfBirth: DateOnly {get, init} + ContactInfo: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n182">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n184" value="+ PatientDto(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n182">
|
|
<mxGeometry as="geometry" x="0" y="172" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n182-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n182">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="172" />
|
|
<mxPoint as="targetPoint" x="520" y="172" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n185" value="«record» UpdatePatientRequest PatientProfileService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Contracts.UpdatePatientRequest" sourceFiles="src/PatientProfileService/Contracts/UpdatePatientRequest.cs" link="../../src/PatientProfileService/Contracts/UpdatePatientRequest.cs">
|
|
<mxGeometry as="geometry" x="730" y="1184" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n186" value="+ Name: string? {get, init} + ContactInfo: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n185">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n187" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n185">
|
|
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n185-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n185">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="136" />
|
|
<mxPoint as="targetPoint" x="520" y="136" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n188" value="«class» Program PatientProfileService" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Program" sourceFiles="src/PatientProfileService/Program.cs" link="../../src/PatientProfileService/Program.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1184" width="520" height="154" />
|
|
</mxCell>
|
|
<mxCell id="n189" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n188">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n190" value="+ Main(string[] args): Task {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n188">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n188-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n188">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n191" value="«framework reference» Exception" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="1590" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n192" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="1590" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n193" value="«framework reference» DbContext" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="1390" y="1590" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e193-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n161" target="n164" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-1" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n161" target="n167" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n161" target="n179" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n161" target="n185" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n161" target="n176" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-5" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n164" target="n176" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n158" target="n161" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n158" target="n179" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n158" target="n182" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n158" target="n185" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-10" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n158" target="n176" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-14" value="Patients [0..*]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n170" target="n176" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-15" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=block;endFill=0;" edge="1" parent="1" source="n173" target="n164" relationship="realization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-16" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n173" target="n167" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-17" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n173" target="n176" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-18" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n173" target="n170" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-19" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n188" target="n161" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-20" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n188" target="n170" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-21" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n188" target="n173" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-22" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n167" target="n191" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n158" target="n192" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e193-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n170" target="n193" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n194" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="1735" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="PatientProfileService — EF migration classes" id="PatientProfileService---EF-migration-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="970" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n210" value="PatientProfileService — EF migration classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n211" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n212" value="«class» AccountProfileAssociation PatientProfileService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Persistence.Migrations.AccountProfileAssociation" sourceFiles="src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs|src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.cs" link="../../src/PatientProfileService/Persistence/Migrations/20261005082209_AccountProfileAssociation.Designer.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n213" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n212">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n214" value="# BuildTargetModel(ModelBuilder modelBuilder): void # Up(MigrationBuilder migrationBuilder): void # Down(MigrationBuilder migrationBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n212">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n212-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n212">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n215" value="«class» InitialPatientSchema PatientProfileService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Persistence.Migrations.InitialPatientSchema" sourceFiles="src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs|src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.cs" link="../../src/PatientProfileService/Persistence/Migrations/20260930200031_InitialPatientSchema.Designer.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n216" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n215">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n217" value="# BuildTargetModel(ModelBuilder modelBuilder): void # Up(MigrationBuilder migrationBuilder): void # Down(MigrationBuilder migrationBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n215">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n215-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n215">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n218" value="«class» PatientDbContextModelSnapshot PatientProfileService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="PatientProfileService.Persistence.Migrations.PatientDbContextModelSnapshot" sourceFiles="src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs" link="../../src/PatientProfileService/Persistence/Migrations/PatientDbContextModelSnapshot.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="154" />
|
|
</mxCell>
|
|
<mxCell id="n219" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n218">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n220" value="# BuildModel(ModelBuilder modelBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n218">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n218-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n218">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n221" value="«framework reference» Migration" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="580" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n222" value="«framework reference» ModelSnapshot" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="580" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n223" value="«same-service type, other page» PatientDbContext" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1" referenceType="PatientProfileService.Persistence.PatientDbContext">
|
|
<mxGeometry as="geometry" x="70" y="690" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e223-11" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n215" target="n223" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e223-12" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n212" target="n223" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e223-13" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n218" target="n223" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e223-22" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n215" target="n221" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e223-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n212" target="n221" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e223-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n218" target="n222" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n224" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="835" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="ObservationService — implementation classes" id="ObservationService---implementation-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="2888" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n274" value="ObservationService — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n275" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n276" value="«class» ObservationController ObservationService.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Controllers.ObservationController" sourceFiles="src/ObservationService/Controllers/ObservationController.cs" link="../../src/ObservationService/Controllers/ObservationController.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="496" />
|
|
</mxCell>
|
|
<mxCell id="n277" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n276">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n278" value="+ ObservationController(ObservationApplicationService service) + RecordObservation(Guid patientId, RecordObservationRequest request, CancellationToken cancellationToken): Task<ActionResult<ObservationDto>> + DeleteObservation(Guid observationId, CancellationToken cancellationToken): Task<IActionResult> + UpdateObservation(Guid observationId, UpdateObservationRequest request, CancellationToken cancellationToken): Task<ActionResult<ObservationDto>> + PatchObservation(Guid observationId, PatchObservationRequest request, CancellationToken cancellationToken): Task<ActionResult<ObservationDto>> + GetObservation(Guid observationId, CancellationToken cancellationToken): Task<ActionResult<ObservationDto>> + GetLatest(Guid patientId, CancellationToken cancellationToken): Task<ActionResult<ObservationDto>> + GetByPeriod(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<ActionResult<List<ObservationDto>>> - ToDto(BloodPressureObservation observation): ObservationDto {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n276">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="378" />
|
|
</mxCell>
|
|
<mxCell id="n276-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n276">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n279" value="«class» ObservationApplicationService ObservationService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Application.ObservationApplicationService" sourceFiles="src/ObservationService/Application/ObservationApplicationService.cs" link="../../src/ObservationService/Application/ObservationApplicationService.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="460" />
|
|
</mxCell>
|
|
<mxCell id="n280" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n279">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n281" value="+ ObservationApplicationService(ObservationRepository repository, IHttpClientFactory clients) + DeleteAsync(Guid observationId, CancellationToken cancellationToken): Task<bool> + UpdateAsync(Guid observationId, UpdateObservationRequest request, CancellationToken cancellationToken): Task<BloodPressureObservation?> + PatchAsync(Guid observationId, PatchObservationRequest request, CancellationToken cancellationToken): Task<BloodPressureObservation?> + RecordAsync(Guid patientId, RecordObservationRequest request, CancellationToken cancellationToken): Task<BloodPressureObservation?> + GetByIdAsync(Guid observationId, CancellationToken cancellationToken): Task<BloodPressureObservation?> + GetLatestAsync(Guid patientId, CancellationToken cancellationToken): Task<BloodPressureObservation?> + GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<List<BloodPressureObservation>> - NormalizeTimestamp(DateTime timestamp): DateTime {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n279">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="342" />
|
|
</mxCell>
|
|
<mxCell id="n279-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n279">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n282" value="«interface» ObservationRepository ObservationService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Application.ObservationRepository" sourceFiles="src/ObservationService/Application/ObservationRepository.cs" link="../../src/ObservationService/Application/ObservationRepository.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="388" />
|
|
</mxCell>
|
|
<mxCell id="n283" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n282">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n284" value="+ DeleteAsync(Guid observationId, CancellationToken cancellationToken): Task<bool> {abstract} + UpdateAsync(Guid observationId, PatchObservationRequest request, DateTime updatedAt, CancellationToken cancellationToken): Task<BloodPressureObservation?> {abstract} + SaveAsync(BloodPressureObservation observation, CancellationToken cancellationToken): Task<BloodPressureObservation> {abstract} + FindByIdAsync(Guid observationId, CancellationToken cancellationToken): Task<BloodPressureObservation?> {abstract} + FindLatestByPatientIdAsync(Guid patientId, CancellationToken cancellationToken): Task<BloodPressureObservation?> {abstract} + FindByPatientIdAndPeriodAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<List<BloodPressureObservation>> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n282">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="270" />
|
|
</mxCell>
|
|
<mxCell id="n282-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n282">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n285" value="«class» ObservationDbContext ObservationService.Persistence" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Persistence.ObservationDbContext" sourceFiles="src/ObservationService/Persistence/ObservationDbContext.cs" link="../../src/ObservationService/Persistence/ObservationDbContext.cs">
|
|
<mxGeometry as="geometry" x="2050" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n286" value="+ Observations: DbSet<BloodPressureObservation> {get}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n285">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n287" value="+ ObservationDbContext(DbContextOptions<ObservationDbContext> options) # OnModelCreating(ModelBuilder modelBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n285">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n285-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n285">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n288" value="«class» SqlObservationRepository ObservationService.Persistence" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Persistence.SqlObservationRepository" sourceFiles="src/ObservationService/Persistence/SqlObservationRepository.cs" link="../../src/ObservationService/Persistence/SqlObservationRepository.cs">
|
|
<mxGeometry as="geometry" x="70" y="886" width="520" height="406" />
|
|
</mxCell>
|
|
<mxCell id="n289" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n288">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n290" value="+ SqlObservationRepository(ObservationDbContext db) + DeleteAsync(Guid observationId, CancellationToken cancellationToken): Task<bool> + UpdateAsync(Guid observationId, PatchObservationRequest request, DateTime updatedAt, CancellationToken cancellationToken): Task<BloodPressureObservation?> + SaveAsync(BloodPressureObservation observation, CancellationToken cancellationToken): Task<BloodPressureObservation> + FindByIdAsync(Guid observationId, CancellationToken cancellationToken): Task<BloodPressureObservation?> + FindLatestByPatientIdAsync(Guid patientId, CancellationToken cancellationToken): Task<BloodPressureObservation?> + FindByPatientIdAndPeriodAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<List<BloodPressureObservation>>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n288">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="288" />
|
|
</mxCell>
|
|
<mxCell id="n288-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n288">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n291" value="«class» BloodPressureObservation ObservationService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Domain.BloodPressureObservation" sourceFiles="src/ObservationService/Domain/BloodPressureObservation.cs" link="../../src/ObservationService/Domain/BloodPressureObservation.cs">
|
|
<mxGeometry as="geometry" x="730" y="886" width="520" height="334" />
|
|
</mxCell>
|
|
<mxCell id="n292" value="+ ObservationId: Guid {get, set} + PatientId: Guid {get, set} + MeasuredAt: DateTime {get, set} + Systolic: int {get, set} + Diastolic: int {get, set} + Pulse: int {get, set} + MeasurementContext: MeasurementContext {get, set} + Context: string? {get, set} + Note: string? {get, set} + CreatedAt: DateTime {get, set} + UpdatedAt: DateTime {get, set}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n291">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="216" />
|
|
</mxCell>
|
|
<mxCell id="n293" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n291">
|
|
<mxGeometry as="geometry" x="0" y="298" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n291-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n291">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="298" />
|
|
<mxPoint as="targetPoint" x="520" y="298" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n294" value="«record» ContextSelection ObservationService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Domain.ContextSelection" sourceFiles="src/ObservationService/Domain/ContextSelection.cs" link="../../src/ObservationService/Domain/ContextSelection.cs">
|
|
<mxGeometry as="geometry" x="1390" y="886" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n295" value="+ Setting: string? {get, init} + ActivityCondition: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n294">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n296" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n294">
|
|
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n294-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n294">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="136" />
|
|
<mxPoint as="targetPoint" x="520" y="136" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n297" value="«record» MeasurementContext ObservationService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Domain.MeasurementContext" sourceFiles="src/ObservationService/Domain/MeasurementContext.cs" link="../../src/ObservationService/Domain/MeasurementContext.cs">
|
|
<mxGeometry as="geometry" x="2050" y="886" width="520" height="280" />
|
|
</mxCell>
|
|
<mxCell id="n298" value="+ Setting: string? {get, init} + ActivityCondition: string? {get, init} + RestDurationMinutes: decimal? {get, init} + BodyPosition: string? {get, init} + MeasuredArm: string? {get, init} + DeviceDetails: string? {get, init} + CuffDetails: string? {get, init} + AdditionalCircumstances: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n297">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="162" />
|
|
</mxCell>
|
|
<mxCell id="n299" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n297">
|
|
<mxGeometry as="geometry" x="0" y="244" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n297-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n297">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="244" />
|
|
<mxPoint as="targetPoint" x="520" y="244" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n300" value="«record» MeasurementContextPatch ObservationService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Contracts.MeasurementContextPatch" sourceFiles="src/ObservationService/Contracts/MeasurementContextPatch.cs" link="../../src/ObservationService/Contracts/MeasurementContextPatch.cs">
|
|
<mxGeometry as="geometry" x="70" y="1472" width="520" height="586" />
|
|
</mxCell>
|
|
<mxCell id="n301" value="- setting: string? + Setting: string? {get, init} + SettingSpecified: bool {get, private set} - activityCondition: string? + ActivityCondition: string? {get, init} + ActivityConditionSpecified: bool {get, private set} - restDurationMinutes: decimal? + RestDurationMinutes: decimal? {get, init} + RestDurationMinutesSpecified: bool {get, private set} - bodyPosition: string? + BodyPosition: string? {get, init} + BodyPositionSpecified: bool {get, private set} - measuredArm: string? + MeasuredArm: string? {get, init} + MeasuredArmSpecified: bool {get, private set} - deviceDetails: string? + DeviceDetails: string? {get, init} + DeviceDetailsSpecified: bool {get, private set} - cuffDetails: string? + CuffDetails: string? {get, init} + CuffDetailsSpecified: bool {get, private set} - additionalCircumstances: string? + AdditionalCircumstances: string? {get, init} + AdditionalCircumstancesSpecified: bool {get, private set} + HasChanges: bool {get}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n300">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="468" />
|
|
</mxCell>
|
|
<mxCell id="n302" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n300">
|
|
<mxGeometry as="geometry" x="0" y="550" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n300-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n300">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="550" />
|
|
<mxPoint as="targetPoint" x="520" y="550" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n303" value="«record» ObservationDto ObservationService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Contracts.ObservationDto" sourceFiles="src/ObservationService/Contracts/ObservationDto.cs" link="../../src/ObservationService/Contracts/ObservationDto.cs">
|
|
<mxGeometry as="geometry" x="730" y="1472" width="520" height="334" />
|
|
</mxCell>
|
|
<mxCell id="n304" value="+ ObservationId: Guid {get, init} + PatientId: Guid {get, init} + MeasuredAt: DateTime {get, init} + Systolic: int {get, init} + Diastolic: int {get, init} + Pulse: int {get, init} + Context: string? {get, init} + Note: string? {get, init} + MeasurementContext: MeasurementContext {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n303">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n305" value="+ ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, int Systolic, int Diastolic, int Pulse, string? Context, string? Note, MeasurementContext MeasurementContext)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n303">
|
|
<mxGeometry as="geometry" x="0" y="262" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n303-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n303">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="262" />
|
|
<mxPoint as="targetPoint" x="520" y="262" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n306" value="«record» PatchObservationRequest ObservationService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Contracts.PatchObservationRequest" sourceFiles="src/ObservationService/Contracts/PatchObservationRequest.cs" link="../../src/ObservationService/Contracts/PatchObservationRequest.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1472" width="520" height="478" />
|
|
</mxCell>
|
|
<mxCell id="n307" value="- systolic: int? + Systolic: int? {get, init} + SystolicSpecified: bool {get, private set} - diastolic: int? + Diastolic: int? {get, init} + DiastolicSpecified: bool {get, private set} - pulse: int? + Pulse: int? {get, init} + PulseSpecified: bool {get, private set} - measurementContext: MeasurementContextPatch? + MeasurementContext: MeasurementContextPatch? {get, init} + MeasurementContextSpecified: bool {get, private set} - context: string? + Context: string? {get, init} + ContextSpecified: bool {get, private set} - note: string? + Note: string? {get, init} + NoteSpecified: bool {get, private set}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n306">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="342" />
|
|
</mxCell>
|
|
<mxCell id="n308" value="+ Validate(ValidationContext validationContext): IEnumerable<ValidationResult>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n306">
|
|
<mxGeometry as="geometry" x="0" y="424" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n306-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n306">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="424" />
|
|
<mxPoint as="targetPoint" x="520" y="424" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n309" value="«record» RecordObservationRequest ObservationService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Contracts.RecordObservationRequest" sourceFiles="src/ObservationService/Contracts/RecordObservationRequest.cs" link="../../src/ObservationService/Contracts/RecordObservationRequest.cs">
|
|
<mxGeometry as="geometry" x="2050" y="1472" width="520" height="262" />
|
|
</mxCell>
|
|
<mxCell id="n310" value="+ MeasuredAt: DateTime? {get, init} + Systolic: int? {get, init} + Diastolic: int? {get, init} + Pulse: int? {get, init} + MeasurementContext: MeasurementContext? {get, init} + Context: string? {get, init} + Note: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n309">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="144" />
|
|
</mxCell>
|
|
<mxCell id="n311" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n309">
|
|
<mxGeometry as="geometry" x="0" y="226" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n309-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n309">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="226" />
|
|
<mxPoint as="targetPoint" x="520" y="226" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n312" value="«record» UpdateObservationRequest ObservationService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Contracts.UpdateObservationRequest" sourceFiles="src/ObservationService/Contracts/UpdateObservationRequest.cs" link="../../src/ObservationService/Contracts/UpdateObservationRequest.cs">
|
|
<mxGeometry as="geometry" x="70" y="2238" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n313" value="+ Systolic: int? {get, init} + Diastolic: int? {get, init} + Pulse: int? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n312">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n314" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n312">
|
|
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n312-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n312">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="154" />
|
|
<mxPoint as="targetPoint" x="520" y="154" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n315" value="«class» Program ObservationService" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Program" sourceFiles="src/ObservationService/Program.cs" link="../../src/ObservationService/Program.cs">
|
|
<mxGeometry as="geometry" x="730" y="2238" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n316" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n315">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n317" value="+ Main(string[] args): Task {static} - GetGatewayUri(IConfiguration configuration): Uri {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n315">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n315-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n315">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n318" value="«framework reference» IValidatableObject" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="2608" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n319" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="2608" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n320" value="«framework reference» DbContext" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="1390" y="2608" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n321" value="«framework reference» IHttpClientFactory" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="2050" y="2608" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e321-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n282" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n306" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n309" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n312" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n291" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-5" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n294" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-6" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n297" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n282" target="n306" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n282" target="n291" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n282" target="n294" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-10" value="MeasurementContext [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n303" target="n297" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-11" value="measurementContext [0..1]; MeasurementContext [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n306" target="n300" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-12" value="MeasurementContext [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n306" target="n297" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-13" value="MeasurementContext [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n309" target="n297" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-14" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n279" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-15" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n303" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-16" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n306" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-17" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n309" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-18" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n312" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-19" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n291" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-20" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n276" target="n294" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-21" value="MeasurementContext [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;startArrow=diamond;startFill=1;endArrow=none;" edge="1" parent="1" source="n291" target="n297" relationship="composition">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-25" value="Observations [0..*]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n285" target="n291" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-26" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=block;endFill=0;" edge="1" parent="1" source="n288" target="n282" relationship="realization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-27" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n288" target="n306" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-28" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n288" target="n291" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-29" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n288" target="n294" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-30" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n288" target="n285" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-31" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n315" target="n279" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-32" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n315" target="n285" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-33" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n315" target="n288" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-34" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n279" target="n321" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-35" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=block;endFill=0;" edge="1" parent="1" source="n306" target="n318" relationship="realization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-36" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n276" target="n319" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e321-37" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n285" target="n320" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n322" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="2753" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="ObservationService — EF migration classes" id="ObservationService---EF-migration-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="970" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n338" value="ObservationService — EF migration classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n339" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n340" value="«class» InitialObservationSchema ObservationService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Persistence.Migrations.InitialObservationSchema" sourceFiles="src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs|src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.cs" link="../../src/ObservationService/Persistence/Migrations/20261001095222_InitialObservationSchema.Designer.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n341" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n340">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n342" value="# BuildTargetModel(ModelBuilder modelBuilder): void # Up(MigrationBuilder migrationBuilder): void # Down(MigrationBuilder migrationBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n340">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n340-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n340">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n343" value="«class» ObservationDbContextModelSnapshot ObservationService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Persistence.Migrations.ObservationDbContextModelSnapshot" sourceFiles="src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs" link="../../src/ObservationService/Persistence/Migrations/ObservationDbContextModelSnapshot.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="154" />
|
|
</mxCell>
|
|
<mxCell id="n344" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n343">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n345" value="# BuildModel(ModelBuilder modelBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n343">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n343-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n343">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n346" value="«class» RecordedMeasurementContext ObservationService.Persistence.Migrations" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="ObservationService.Persistence.Migrations.RecordedMeasurementContext" sourceFiles="src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs|src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.cs" link="../../src/ObservationService/Persistence/Migrations/20261005094632_RecordedMeasurementContext.Designer.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n347" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n346">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n348" value="# BuildTargetModel(ModelBuilder modelBuilder): void # Up(MigrationBuilder migrationBuilder): void # Down(MigrationBuilder migrationBuilder): void" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n346">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n346-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n346">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n349" value="«framework reference» Migration" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="580" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n350" value="«framework reference» ModelSnapshot" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="580" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n351" value="«same-service type, other page» ObservationDbContext" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1" referenceType="ObservationService.Persistence.ObservationDbContext">
|
|
<mxGeometry as="geometry" x="70" y="690" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e351-22" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n340" target="n351" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e351-23" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n346" target="n351" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e351-24" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n343" target="n351" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e351-34" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n340" target="n349" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e351-35" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n346" target="n349" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e351-36" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n343" target="n350" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n352" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="835" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="InsightsService — implementation classes" id="InsightsService---implementation-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="2816" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n406" value="InsightsService — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n407" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n408" value="«class» InsightsController InsightsService.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Controllers.InsightsController" sourceFiles="src/InsightsService/Controllers/InsightsController.cs" link="../../src/InsightsService/Controllers/InsightsController.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="262" />
|
|
</mxCell>
|
|
<mxCell id="n409" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n408">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n410" value="+ InsightsController(InsightsApplicationService service) + GetSummary(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<ActionResult<HealthInsightDto>> + GetTrend(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<ActionResult<TrendAssessment>>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n408">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="144" />
|
|
</mxCell>
|
|
<mxCell id="n408-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n408">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n411" value="«class» InsightsApplicationService InsightsService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Application.InsightsApplicationService" sourceFiles="src/InsightsService/Application/InsightsApplicationService.cs" link="../../src/InsightsService/Application/InsightsApplicationService.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="298" />
|
|
</mxCell>
|
|
<mxCell id="n412" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n411">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n413" value="+ InsightsApplicationService(ObservationServiceClient observations, InsightCalculator calculator) + GetSummaryAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<HealthInsight?> + GetTrendAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<TrendAssessment> - NormalizeTimestamp(DateTime value): DateTime {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n411">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n411-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n411">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n414" value="«record» ClinicalReference InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.ClinicalReference" sourceFiles="src/InsightsService/Domain/TrendAssessment.cs" link="../../src/InsightsService/Domain/TrendAssessment.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="298" />
|
|
</mxCell>
|
|
<mxCell id="n415" value="+ Scope: string {get, init} + LowerBoundary: decimal? {get, init} + LowerComparison: string? {get, init} + UpperBoundary: decimal {get, init} + UpperComparison: string {get, init} + Sources: IReadOnlyList<ReferenceSource> {get, init} + Limitation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n414">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="144" />
|
|
</mxCell>
|
|
<mxCell id="n416" value="+ ClinicalReference(string Scope, decimal? LowerBoundary, string? LowerComparison, decimal UpperBoundary, string UpperComparison, IReadOnlyList<ReferenceSource> Sources, string Limitation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n414">
|
|
<mxGeometry as="geometry" x="0" y="226" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n414-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n414">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="226" />
|
|
<mxPoint as="targetPoint" x="520" y="226" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n417" value="«record» ComparabilityAssessment InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.ComparabilityAssessment" sourceFiles="src/InsightsService/Domain/TrendAssessment.cs" link="../../src/InsightsService/Domain/TrendAssessment.cs">
|
|
<mxGeometry as="geometry" x="2050" y="210" width="520" height="298" />
|
|
</mxCell>
|
|
<mxCell id="n418" value="+ Status: string {get, init} + KnownSimilarities: IReadOnlyList<string> {get, init} + KnownDifferences: IReadOnlyList<string> {get, init} + MissingDetails: IReadOnlyList<string> {get, init} + Conflicts: IReadOnlyList<string> {get, init} + Explanation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n417">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="126" />
|
|
</mxCell>
|
|
<mxCell id="n419" value="+ ComparabilityAssessment(string Status, IReadOnlyList<string> KnownSimilarities, IReadOnlyList<string> KnownDifferences, IReadOnlyList<string> MissingDetails, IReadOnlyList<string> Conflicts, string Explanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n417">
|
|
<mxGeometry as="geometry" x="0" y="208" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n417-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n417">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="208" />
|
|
<mxPoint as="targetPoint" x="520" y="208" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n420" value="«record» ContextSelection InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.ContextSelection" sourceFiles="src/InsightsService/Domain/ContextSelection.cs" link="../../src/InsightsService/Domain/ContextSelection.cs">
|
|
<mxGeometry as="geometry" x="70" y="688" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n421" value="+ Setting: string? {get, init} + ActivityCondition: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n420">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n422" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n420">
|
|
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n420-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n420">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="136" />
|
|
<mxPoint as="targetPoint" x="520" y="136" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n423" value="«record» HealthInsight InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.HealthInsight" sourceFiles="src/InsightsService/Domain/HealthInsight.cs" link="../../src/InsightsService/Domain/HealthInsight.cs">
|
|
<mxGeometry as="geometry" x="730" y="688" width="520" height="442" />
|
|
</mxCell>
|
|
<mxCell id="n424" value="+ PatientId: Guid {get, init} + PeriodStart: DateTime {get, init} + PeriodEnd: DateTime {get, init} + AverageSystolic: decimal {get, init} + AverageDiastolic: decimal {get, init} + AveragePulse: decimal {get, init} + MinSystolic: int {get, init} + MaxSystolic: int {get, init} + MinDiastolic: int {get, init} + MaxDiastolic: int {get, init} + AppliedSelection: ContextSelection {get, init} + ContributingCount: int {get, init} + ContextExplanation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n423">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="252" />
|
|
</mxCell>
|
|
<mxCell id="n425" value="+ HealthInsight(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n423">
|
|
<mxGeometry as="geometry" x="0" y="334" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n423-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n423">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="334" />
|
|
<mxPoint as="targetPoint" x="520" y="334" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n426" value="«class» InsightCalculator InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.InsightCalculator" sourceFiles="src/InsightsService/Domain/InsightCalculator.Trends.cs|src/InsightsService/Domain/InsightCalculator.cs" link="../../src/InsightsService/Domain/InsightCalculator.Trends.cs">
|
|
<mxGeometry as="geometry" x="1390" y="688" width="520" height="532" />
|
|
</mxCell>
|
|
<mxCell id="n427" value="- GeneralLimits: string {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n426">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n428" value="+ CalculateTrend(Guid patientId, DateTime from, DateTime to, IReadOnlyList<ObservationDto> observations, ContextSelection selection): TrendAssessment - AssessMeasurement(string metric, string unit, IReadOnlyList<ObservationDto> observations, Func<ObservationDto, int> value, ComparabilityAssessment comparability): MeasurementAssessment {static} - SelectReference(string metric, IReadOnlyList<ObservationDto> observations, ComparabilityAssessment comparability): ClinicalReference? {static} - IsHigh(decimal value, ClinicalReference reference): bool {static} - IsLow(decimal value, ClinicalReference reference): bool {static} - Round(decimal value): decimal {static} - Format(decimal value): string {static} - AssessComparability(IReadOnlyList<ObservationDto> observations): ComparabilityAssessment {static} + CalculateSummary(Guid patientId, DateTime from, DateTime to, IReadOnlyList<ObservationDto> observations, ContextSelection selection): HealthInsight? - DescribeContext(IReadOnlyList<ObservationDto> observations): string {static} - Counts(IEnumerable<string> values): string {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n426">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="414" />
|
|
</mxCell>
|
|
<mxCell id="n426-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n426">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n429" value="«record» MeasurementAssessment InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.MeasurementAssessment" sourceFiles="src/InsightsService/Domain/TrendAssessment.cs" link="../../src/InsightsService/Domain/TrendAssessment.cs">
|
|
<mxGeometry as="geometry" x="2050" y="688" width="520" height="532" />
|
|
</mxCell>
|
|
<mxCell id="n430" value="+ Metric: string {get, init} + Unit: string {get, init} + Mean: decimal? {get, init} + Minimum: int? {get, init} + Maximum: int? {get, init} + Range: int? {get, init} + DistinctTimestampCount: int {get, init} + Direction: string {get, init} + OverallDirection: string {get, init} + SlopePerDay: decimal? {get, init} + ReversalCount: int {get, init} + TotalSuccessiveChange: decimal? {get, init} + NumericalExplanation: string {get, init} + Reference: ClinicalReference? {get, init} + ReferenceComparison: string {get, init} + Interpretation: string {get, init} + Hint: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n429">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="324" />
|
|
</mxCell>
|
|
<mxCell id="n431" value="+ MeasurementAssessment(string Metric, string Unit, decimal? Mean, int? Minimum, int? Maximum, int? Range, int DistinctTimestampCount, string Direction, string OverallDirection, decimal? SlopePerDay, int ReversalCount, decimal? TotalSuccessiveChange, string NumericalExplanation, ClinicalReference? Reference, string ReferenceComparison, string Interpretation, string Hint)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n429">
|
|
<mxGeometry as="geometry" x="0" y="406" width="520" height="126" />
|
|
</mxCell>
|
|
<mxCell id="n429-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n429">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="406" />
|
|
<mxPoint as="targetPoint" x="520" y="406" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n432" value="«record» ReferenceSource InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.ReferenceSource" sourceFiles="src/InsightsService/Domain/TrendAssessment.cs" link="../../src/InsightsService/Domain/TrendAssessment.cs">
|
|
<mxGeometry as="geometry" x="70" y="1400" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n433" value="+ Title: string {get, init} + Url: string {get, init} + Updated: string {get, init} + Reviewed: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n432">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n434" value="+ ReferenceSource(string Title, string Url, string Updated, string Reviewed)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n432">
|
|
<mxGeometry as="geometry" x="0" y="172" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n432-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n432">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="172" />
|
|
<mxPoint as="targetPoint" x="520" y="172" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n435" value="«record» TrendAssessment InsightsService.Domain" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#fff2cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Domain.TrendAssessment" sourceFiles="src/InsightsService/Domain/TrendAssessment.cs" link="../../src/InsightsService/Domain/TrendAssessment.cs">
|
|
<mxGeometry as="geometry" x="730" y="1400" width="520" height="370" />
|
|
</mxCell>
|
|
<mxCell id="n436" value="+ PatientId: Guid {get, init} + PeriodStart: DateTime {get, init} + PeriodEnd: DateTime {get, init} + AppliedSelection: ContextSelection {get, init} + ContributingCount: int {get, init} + Comparability: ComparabilityAssessment {get, init} + Systolic: MeasurementAssessment {get, init} + Diastolic: MeasurementAssessment {get, init} + Pulse: MeasurementAssessment {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n435">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n437" value="+ TrendAssessment(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, ContextSelection AppliedSelection, int ContributingCount, ComparabilityAssessment Comparability, MeasurementAssessment Systolic, MeasurementAssessment Diastolic, MeasurementAssessment Pulse)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n435">
|
|
<mxGeometry as="geometry" x="0" y="262" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n435-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n435">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="262" />
|
|
<mxPoint as="targetPoint" x="520" y="262" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n438" value="«record» HealthInsightDto InsightsService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Contracts.HealthInsightDto" sourceFiles="src/InsightsService/Contracts/HealthInsightDto.cs" link="../../src/InsightsService/Contracts/HealthInsightDto.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1400" width="520" height="442" />
|
|
</mxCell>
|
|
<mxCell id="n439" value="+ PatientId: Guid {get, init} + PeriodStart: DateTime {get, init} + PeriodEnd: DateTime {get, init} + AverageSystolic: decimal {get, init} + AverageDiastolic: decimal {get, init} + AveragePulse: decimal {get, init} + MinSystolic: int {get, init} + MaxSystolic: int {get, init} + MinDiastolic: int {get, init} + MaxDiastolic: int {get, init} + AppliedSelection: ContextSelection {get, init} + ContributingCount: int {get, init} + ContextExplanation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n438">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="252" />
|
|
</mxCell>
|
|
<mxCell id="n440" value="+ HealthInsightDto(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n438">
|
|
<mxGeometry as="geometry" x="0" y="334" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n438-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n438">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="334" />
|
|
<mxPoint as="targetPoint" x="520" y="334" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n441" value="«record» MeasurementContextDto InsightsService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Contracts.MeasurementContextDto" sourceFiles="src/InsightsService/Contracts/ObservationDto.cs" link="../../src/InsightsService/Contracts/ObservationDto.cs">
|
|
<mxGeometry as="geometry" x="2050" y="1400" width="520" height="316" />
|
|
</mxCell>
|
|
<mxCell id="n442" value="+ Setting: string? {get, init} + ActivityCondition: string? {get, init} + RestDurationMinutes: decimal? {get, init} + BodyPosition: string? {get, init} + MeasuredArm: string? {get, init} + DeviceDetails: string? {get, init} + CuffDetails: string? {get, init} + AdditionalCircumstances: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n441">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="162" />
|
|
</mxCell>
|
|
<mxCell id="n443" value="+ MeasurementContextDto(string? Setting, string? ActivityCondition, decimal? RestDurationMinutes, string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n441">
|
|
<mxGeometry as="geometry" x="0" y="244" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n441-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n441">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="244" />
|
|
<mxPoint as="targetPoint" x="520" y="244" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n444" value="«record» ObservationDto InsightsService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Contracts.ObservationDto" sourceFiles="src/InsightsService/Contracts/ObservationDto.cs" link="../../src/InsightsService/Contracts/ObservationDto.cs">
|
|
<mxGeometry as="geometry" x="70" y="2022" width="520" height="334" />
|
|
</mxCell>
|
|
<mxCell id="n445" value="+ ObservationId: Guid {get, init} + PatientId: Guid {get, init} + MeasuredAt: DateTime {get, init} + Systolic: int {get, init} + Diastolic: int {get, init} + Pulse: int {get, init} + MeasurementContext: MeasurementContextDto? {get, init} + Context: string? {get, init} + Note: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n444">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n446" value="+ ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, int Systolic, int Diastolic, int Pulse, MeasurementContextDto? MeasurementContext = null, string? Context = null, string? Note = null)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n444">
|
|
<mxGeometry as="geometry" x="0" y="262" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n444-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n444">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="262" />
|
|
<mxPoint as="targetPoint" x="520" y="262" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n447" value="«class» HttpObservationServiceClient InsightsService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Clients.HttpObservationServiceClient" sourceFiles="src/InsightsService/Clients/HttpObservationServiceClient.cs" link="../../src/InsightsService/Clients/HttpObservationServiceClient.cs">
|
|
<mxGeometry as="geometry" x="730" y="2022" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n448" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n447">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n449" value="+ HttpObservationServiceClient(HttpClient client) + GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<List<ObservationDto>>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n447">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n447-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n447">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n450" value="«interface» ObservationServiceClient InsightsService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Clients.ObservationServiceClient" sourceFiles="src/InsightsService/Clients/ObservationServiceClient.cs" link="../../src/InsightsService/Clients/ObservationServiceClient.cs">
|
|
<mxGeometry as="geometry" x="1390" y="2022" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n451" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n450">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n452" value="+ GetByPeriodAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<List<ObservationDto>> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n450">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n450-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n450">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n453" value="«class» Program InsightsService" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="InsightsService.Program" sourceFiles="src/InsightsService/Program.cs" link="../../src/InsightsService/Program.cs">
|
|
<mxGeometry as="geometry" x="2050" y="2022" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n454" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n453">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n455" value="+ Main(string[] args): void {static} - GetGatewayUri(IConfiguration configuration): Uri {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n453">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n453-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n453">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n456" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="2536" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n457" value="«framework reference» HttpClient" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="2536" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e457-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n411" target="n450" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n411" target="n420" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n411" target="n423" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n411" target="n426" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n411" target="n435" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-5" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=block;endFill=0;" edge="1" parent="1" source="n447" target="n450" relationship="realization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n447" target="n444" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n447" target="n420" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n450" target="n444" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n450" target="n420" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-10" value="AppliedSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n438" target="n420" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-11" value="MeasurementContext [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n444" target="n441" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-12" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n408" target="n411" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-13" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n408" target="n438" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-14" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n408" target="n420" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-15" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n408" target="n435" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-16" value="AppliedSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n423" target="n420" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-17" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n444" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-18" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n420" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-19" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n423" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-20" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n435" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-21" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n417" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-22" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n429" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-23" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n426" target="n414" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-24" value="AppliedSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n435" target="n420" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-25" value="Comparability [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n435" target="n417" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-26" value="Systolic [1]; Diastolic [1]; Pulse [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n435" target="n429" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-27" value="Reference [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n429" target="n414" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-28" value="Sources [0..*]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n414" target="n432" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-29" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n453" target="n411" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-30" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n453" target="n447" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-31" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n453" target="n426" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-32" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n447" target="n457" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e457-33" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n408" target="n456" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n458" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="2681" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram name="HealthOverviewService — implementation classes" id="HealthOverviewService---implementation-classes">
|
|
<mxGraphModel grid="1" gridSize="10" page="1" pageWidth="2660" pageHeight="2402" pageScale="1">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="n509" value="HealthOverviewService — implementation classes" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="25" width="2580" height="45" />
|
|
</mxCell>
|
|
<mxCell id="n510" value="UML: + public, - private, # protected, ~ internal. Three compartments = classifier / attributes / operations. Hollow triangle: inheritance; dashed hollow triangle: interface realization. Solid line: attribute reference; dashed arrow: dependency; filled diamond: verified owned context. Each source type has its own classifier. Primary-constructor parameters are constructor operations, not invented fields." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="85" width="2580" height="100" />
|
|
</mxCell>
|
|
<mxCell id="n511" value="«class» HealthOverviewController HealthOverviewService.Controllers" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#dae8fc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Controllers.HealthOverviewController" sourceFiles="src/HealthOverviewService/Controllers/HealthOverviewController.cs" link="../../src/HealthOverviewService/Controllers/HealthOverviewController.cs">
|
|
<mxGeometry as="geometry" x="70" y="210" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n512" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n511">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n513" value="+ HealthOverviewController(HealthOverviewApplicationService service) + GetOverview(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<ActionResult<HealthOverviewDto>>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n511">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n511-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n511">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n514" value="«class» HealthOverviewApplicationService HealthOverviewService.Application" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#e1d5e7;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Application.HealthOverviewApplicationService" sourceFiles="src/HealthOverviewService/Application/HealthOverviewApplicationService.cs" link="../../src/HealthOverviewService/Application/HealthOverviewApplicationService.cs">
|
|
<mxGeometry as="geometry" x="730" y="210" width="520" height="244" />
|
|
</mxCell>
|
|
<mxCell id="n515" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n514">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n516" value="+ HealthOverviewApplicationService(PatientProfileServiceClient patients, ObservationServiceClient observations, InsightsServiceClient insights) + GetOverviewAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<HealthOverviewDto?> - NormalizeTimestamp(DateTime value): DateTime {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n514">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="126" />
|
|
</mxCell>
|
|
<mxCell id="n514-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n514">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n517" value="«record» ContextSelection HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.ContextSelection" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="1390" y="210" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n518" value="+ Setting: string? {get, init} + ActivityCondition: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n517">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n519" value="(no declared operations)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n517">
|
|
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n517-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n517">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="136" />
|
|
<mxPoint as="targetPoint" x="520" y="136" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n520" value="«record» HealthInsightDto HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.HealthInsightDto" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="2050" y="210" width="520" height="442" />
|
|
</mxCell>
|
|
<mxCell id="n521" value="+ PatientId: Guid {get, init} + PeriodStart: DateTime {get, init} + PeriodEnd: DateTime {get, init} + AverageSystolic: decimal {get, init} + AverageDiastolic: decimal {get, init} + AveragePulse: decimal {get, init} + MinSystolic: int {get, init} + MaxSystolic: int {get, init} + MinDiastolic: int {get, init} + MaxDiastolic: int {get, init} + AppliedSelection: ContextSelection {get, init} + ContributingCount: int {get, init} + ContextExplanation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n520">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="252" />
|
|
</mxCell>
|
|
<mxCell id="n522" value="+ HealthInsightDto(Guid PatientId, DateTime PeriodStart, DateTime PeriodEnd, decimal AverageSystolic, decimal AverageDiastolic, decimal AveragePulse, int MinSystolic, int MaxSystolic, int MinDiastolic, int MaxDiastolic, ContextSelection AppliedSelection, int ContributingCount, string ContextExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n520">
|
|
<mxGeometry as="geometry" x="0" y="334" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n520-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n520">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="334" />
|
|
<mxPoint as="targetPoint" x="520" y="334" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n523" value="«record» HealthOverviewDto HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.HealthOverviewDto" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="70" y="832" width="520" height="370" />
|
|
</mxCell>
|
|
<mxCell id="n524" value="+ Patient: PatientDto {get, init} + LatestObservation: ObservationDto? {get, init} + Insight: HealthInsightDto? {get, init} + PeriodStart: DateTime {get, init} + PeriodEnd: DateTime {get, init} + InsightSelection: ContextSelection {get, init} + InsightContributingCount: int {get, init} + LatestObservationBasis: string {get, init} + InsightExplanation: string {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n523">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n525" value="+ HealthOverviewDto(PatientDto Patient, ObservationDto? LatestObservation, HealthInsightDto? Insight, DateTime PeriodStart, DateTime PeriodEnd, ContextSelection InsightSelection, int InsightContributingCount, string LatestObservationBasis, string InsightExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n523">
|
|
<mxGeometry as="geometry" x="0" y="262" width="520" height="108" />
|
|
</mxCell>
|
|
<mxCell id="n523-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n523">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="262" />
|
|
<mxPoint as="targetPoint" x="520" y="262" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n526" value="«record» MeasurementContextDto HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.MeasurementContextDto" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="730" y="832" width="520" height="316" />
|
|
</mxCell>
|
|
<mxCell id="n527" value="+ Setting: string {get, init} + ActivityCondition: string {get, init} + RestDurationMinutes: decimal? {get, init} + BodyPosition: string? {get, init} + MeasuredArm: string? {get, init} + DeviceDetails: string? {get, init} + CuffDetails: string? {get, init} + AdditionalCircumstances: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n526">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="162" />
|
|
</mxCell>
|
|
<mxCell id="n528" value="+ MeasurementContextDto(string Setting, string ActivityCondition, decimal? RestDurationMinutes, string? BodyPosition, string? MeasuredArm, string? DeviceDetails, string? CuffDetails, string? AdditionalCircumstances)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n526">
|
|
<mxGeometry as="geometry" x="0" y="244" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n526-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n526">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="244" />
|
|
<mxPoint as="targetPoint" x="520" y="244" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n529" value="«record» ObservationDto HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.ObservationDto" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="1390" y="832" width="520" height="334" />
|
|
</mxCell>
|
|
<mxCell id="n530" value="+ ObservationId: Guid {get, init} + PatientId: Guid {get, init} + MeasuredAt: DateTime {get, init} + Systolic: int {get, init} + Diastolic: int {get, init} + Pulse: int {get, init} + Context: string? {get, init} + Note: string? {get, init} + MeasurementContext: MeasurementContextDto {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n529">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
|
|
</mxCell>
|
|
<mxCell id="n531" value="+ ObservationDto(Guid ObservationId, Guid PatientId, DateTime MeasuredAt, int Systolic, int Diastolic, int Pulse, string? Context, string? Note, MeasurementContextDto MeasurementContext)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n529">
|
|
<mxGeometry as="geometry" x="0" y="262" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n529-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n529">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="262" />
|
|
<mxPoint as="targetPoint" x="520" y="262" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n532" value="«record» PatientDto HealthOverviewService.Contracts" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#ffe6cc;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Contracts.PatientDto" sourceFiles="src/HealthOverviewService/Contracts/HealthOverviewDto.cs" link="../../src/HealthOverviewService/Contracts/HealthOverviewDto.cs">
|
|
<mxGeometry as="geometry" x="2050" y="832" width="520" height="226" />
|
|
</mxCell>
|
|
<mxCell id="n533" value="+ PatientId: Guid {get, init} + Name: string {get, init} + DateOfBirth: DateOnly {get, init} + ContactInfo: string? {get, init}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n532">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n534" value="+ PatientDto(Guid PatientId, string Name, DateOnly DateOfBirth, string? ContactInfo)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n532">
|
|
<mxGeometry as="geometry" x="0" y="172" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n532-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n532">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="172" />
|
|
<mxPoint as="targetPoint" x="520" y="172" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n535" value="«class» HttpInsightsServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.HttpInsightsServiceClient" sourceFiles="src/HealthOverviewService/Clients/InsightsServiceClient.cs" link="../../src/HealthOverviewService/Clients/InsightsServiceClient.cs">
|
|
<mxGeometry as="geometry" x="70" y="1382" width="520" height="208" />
|
|
</mxCell>
|
|
<mxCell id="n536" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n535">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n537" value="+ HttpInsightsServiceClient(HttpClient client) + GetSummaryAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<HealthInsightDto?>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n535">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
|
|
</mxCell>
|
|
<mxCell id="n535-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n535">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n538" value="«class» HttpObservationServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.HttpObservationServiceClient" sourceFiles="src/HealthOverviewService/Clients/ObservationServiceClient.cs" link="../../src/HealthOverviewService/Clients/ObservationServiceClient.cs">
|
|
<mxGeometry as="geometry" x="730" y="1382" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n539" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n538">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n540" value="+ HttpObservationServiceClient(HttpClient client) + GetLatestAsync(Guid patientId, CancellationToken cancellationToken): Task<ObservationDto?>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n538">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n538-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n538">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n541" value="«class» HttpPatientProfileServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.HttpPatientProfileServiceClient" sourceFiles="src/HealthOverviewService/Clients/PatientProfileServiceClient.cs" link="../../src/HealthOverviewService/Clients/PatientProfileServiceClient.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1382" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n542" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n541">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n543" value="+ HttpPatientProfileServiceClient(HttpClient client) + GetPatientAsync(Guid patientId, CancellationToken cancellationToken): Task<PatientDto?>" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n541">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n541-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n541">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n544" value="«abstract class» InsightsServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.InsightsServiceClient" sourceFiles="src/HealthOverviewService/Clients/InsightsServiceClient.cs" link="../../src/HealthOverviewService/Clients/InsightsServiceClient.cs">
|
|
<mxGeometry as="geometry" x="2050" y="1382" width="520" height="190" />
|
|
</mxCell>
|
|
<mxCell id="n545" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n544">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n546" value="+ GetSummaryAsync(Guid patientId, DateTime from, DateTime to, ContextSelection selection, CancellationToken cancellationToken): Task<HealthInsightDto?> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n544">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
|
</mxCell>
|
|
<mxCell id="n544-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n544">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n547" value="«abstract class» ObservationServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.ObservationServiceClient" sourceFiles="src/HealthOverviewService/Clients/ObservationServiceClient.cs" link="../../src/HealthOverviewService/Clients/ObservationServiceClient.cs">
|
|
<mxGeometry as="geometry" x="70" y="1770" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n548" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n547">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n549" value="+ GetLatestAsync(Guid patientId, CancellationToken cancellationToken): Task<ObservationDto?> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n547">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n547-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n547">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n550" value="«abstract class» PatientProfileServiceClient HealthOverviewService.Clients" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#d5e8d4;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Clients.PatientProfileServiceClient" sourceFiles="src/HealthOverviewService/Clients/PatientProfileServiceClient.cs" link="../../src/HealthOverviewService/Clients/PatientProfileServiceClient.cs">
|
|
<mxGeometry as="geometry" x="730" y="1770" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n551" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n550">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n552" value="+ GetPatientAsync(Guid patientId, CancellationToken cancellationToken): Task<PatientDto?> {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n550">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n550-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n550">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n553" value="«class» Program HealthOverviewService" style="swimlane;startSize=82;horizontal=1;html=0;whiteSpace=wrap;align=center;verticalAlign=top;fontSize=13;fontStyle=1;spacing=7;fillColor=#f5f5f5;strokeColor=#444444;" vertex="1" parent="1" sourceType="HealthOverviewService.Program" sourceFiles="src/HealthOverviewService/Program.cs" link="../../src/HealthOverviewService/Program.cs">
|
|
<mxGeometry as="geometry" x="1390" y="1770" width="520" height="172" />
|
|
</mxCell>
|
|
<mxCell id="n554" value="(no declared attributes)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n553">
|
|
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
|
</mxCell>
|
|
<mxCell id="n555" value="+ Main(string[] args): void {static} - GetGatewayUri(IConfiguration configuration): Uri {static}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n553">
|
|
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
|
</mxCell>
|
|
<mxCell id="n553-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n553">
|
|
<mxGeometry as="geometry" relative="1">
|
|
<mxPoint as="sourcePoint" x="0" y="118" />
|
|
<mxPoint as="targetPoint" x="520" y="118" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="n556" value="«framework reference» ControllerBase" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="70" y="2122" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="n557" value="«framework reference» HttpClient" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;align=center;fillColor=#ffffff;strokeColor=#777777;dashed=1;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="730" y="2122" width="520" height="80" />
|
|
</mxCell>
|
|
<mxCell id="e557-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n514" target="n544" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n514" target="n547" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n514" target="n550" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n514" target="n517" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n514" target="n523" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-5" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n544" target="n517" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n544" target="n520" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-7" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n535" target="n544" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n535" target="n517" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n535" target="n520" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-10" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n547" target="n529" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-11" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n538" target="n547" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-12" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n538" target="n529" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-13" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n550" target="n532" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-14" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n541" target="n550" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-15" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n541" target="n532" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-16" value="MeasurementContext [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n529" target="n526" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-17" value="AppliedSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n520" target="n517" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-18" value="InsightSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n523" target="n517" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-19" value="Patient [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n523" target="n532" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-20" value="LatestObservation [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n523" target="n529" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-21" value="Insight [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n523" target="n520" relationship="association">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-22" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n511" target="n514" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-23" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n511" target="n517" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-24" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n511" target="n523" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-25" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n514" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-26" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n544" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-27" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n535" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-28" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n547" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-29" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n538" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-30" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n550" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-31" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n553" target="n541" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-32" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n535" target="n557" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-33" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n538" target="n557" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-34" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n541" target="n557" relationship="dependency">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="e557-35" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n511" target="n556" relationship="generalization">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="n558" value="Source-linked classifier headers. All declared members shown; compiler-generated record members and inherited framework members are omitted. Partial declarations are merged. Framework base/reference boxes are distinguished from service-defined types. A dependency is not ownership or a cross-service in-process call. See class-diagram-coverage.md for exact file/type coverage." style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="40" y="2267" width="2580" height="110" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
<diagram id="p6" name="Administrative provisioning (not a microservice)">
|
|
<mxGraphModel dx="1700" dy="1500" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1700" pageHeight="1500" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="c115" value="Administrative provisioning (not a microservice)" style="text;html=0;fontSize=24;fontStyle=1;align=left;verticalAlign=middle;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="30" y="15" width="1640" height="45" />
|
|
</mxCell>
|
|
<mxCell id="c116" value="Program [static] + Main(args): Task<int> Commands: prepare/database/configure/ verify-startup/verify/distribute/launchd secret/admin-connection/execute Sanitized failure + nonzero exit" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#dae8fc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/Program.cs">
|
|
<mxGeometry as="geometry" x="30" y="100" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c117" value="Deployment [record] Id; Services: dictionary<string,ServiceSettings> Accounts: List<Account> + Prepare / Load / Url / ConnectionString + Secret: 32 random bytes as hex" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#dae8fc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/Deployment.cs">
|
|
<mxGeometry as="geometry" x="445" y="100" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c118" value="ServiceSettings / DatabaseSettings [records] Name/Host/Port/Platform; keys CertificatePassword; Environment Database?: Name/User/Password/Host/Port Account: AccountId/Role/Password Topology: Hosts/Ports/Platforms dictionaries" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff2cc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/Deployment.cs">
|
|
<mxGeometry as="geometry" x="860" y="100" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c119" value="DatabaseProvisioning [static] + Create(serviceDirectory,adminFile) + Check(database): service identity Separate role/DB; PUBLIC revoked runuser/psql or Npgsql admin" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/DatabaseProvisioning.cs">
|
|
<mxGeometry as="geometry" x="1275" y="100" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c120" value="ConfigurationWriter [static] + Configure(serviceDirectory,root,platform) Env or nested Production JSON Copies PFX; platform-owned key path Refuses config overwrite" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/ConfigurationWriter.cs">
|
|
<mxGeometry as="geometry" x="30" y="420" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c121" value="InstallationVerification [static] + Verify(directory,selected,complete,startupOnly) Custom CA/name validation HTTPS/DB/callback probes + retry window Synthetic complete workflow" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/InstallationVerification.cs">
|
|
<mxGeometry as="geometry" x="445" y="420" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c122" value="Distribution [static] + Deploy(bundle,directory,user,selected) Group by host; scoped material SSH/SCP → native installers Final topology verification" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/Distribution.cs">
|
|
<mxGeometry as="geometry" x="860" y="420" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c123" value="LaunchdWriter [static] + Write(service,root,dotnet,output) Native plist with service identity/env RunAtLoad and KeepAlive" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1" link="../../deploy/HealthApp.Provisioning/LaunchdWriter.cs">
|
|
<mxGeometry as="geometry" x="1275" y="420" width="350" height="230" />
|
|
</mxCell>
|
|
<mxCell id="c124" value="dispatches preparation" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c117">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c125" value="contains" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;startArrow=diamond;startFill=1;endArrow=none;" edge="1" parent="1" source="c117" target="c118">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c126" value="dispatches" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c119">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c127" value="dispatches" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c120">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c128" value="dispatches" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c121">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c129" value="dispatches" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c122">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c130" value="dispatches" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c116" target="c123">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c131" value="final verification" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=open;dashed=1;" edge="1" parent="1" source="c122" target="c121">
|
|
<mxGeometry as="geometry" relative="1" />
|
|
</mxCell>
|
|
<mxCell id="c132" value="Administration utility runs during deployment; production microservices do not reference it. OS shell/PowerShell adapters invoke it and register native services. Deployment manifest contains secrets; it is not an application database. See software-architecture.md §9." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff2cc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
|
<mxGeometry as="geometry" x="30" y="740" width="1630" height="100" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile>
|