Files

360 lines
40 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
<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="n459" 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="n460" 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="n461" value="«class»&#10;HealthOverviewController&#10;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="n462" 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="n461">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n463" value="+ HealthOverviewController(HealthOverviewApplicationService service)&#10;+ GetOverview(Guid patientId, DateTime from, DateTime to,&#10;ContextSelection selection, CancellationToken cancellationToken):&#10;Task&lt;ActionResult&lt;HealthOverviewDto&gt;&gt;" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n461">
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
</mxCell>
<mxCell id="n461-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n461">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n464" value="«class»&#10;HealthOverviewApplicationService&#10;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="n465" 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="n464">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n466" value="+ HealthOverviewApplicationService(PatientProfileServiceClient patients,&#10;ObservationServiceClient observations, InsightsServiceClient insights)&#10;+ GetOverviewAsync(Guid patientId, DateTime from, DateTime to,&#10;ContextSelection selection, CancellationToken cancellationToken):&#10;Task&lt;HealthOverviewDto?&gt;&#10;- 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="n464">
<mxGeometry as="geometry" x="0" y="118" width="520" height="126" />
</mxCell>
<mxCell id="n464-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n464">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n467" value="«record»&#10;ContextSelection&#10;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="n468" value="+ Setting: string? {get, init}&#10;+ 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="n467">
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
</mxCell>
<mxCell id="n469" 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="n467">
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
</mxCell>
<mxCell id="n467-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n467">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="136" />
<mxPoint as="targetPoint" x="520" y="136" />
</mxGeometry>
</mxCell>
<mxCell id="n470" value="«record»&#10;HealthInsightDto&#10;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="n471" value="+ PatientId: Guid {get, init}&#10;+ PeriodStart: DateTime {get, init}&#10;+ PeriodEnd: DateTime {get, init}&#10;+ AverageSystolic: decimal {get, init}&#10;+ AverageDiastolic: decimal {get, init}&#10;+ AveragePulse: decimal {get, init}&#10;+ MinSystolic: int {get, init}&#10;+ MaxSystolic: int {get, init}&#10;+ MinDiastolic: int {get, init}&#10;+ MaxDiastolic: int {get, init}&#10;+ AppliedSelection: ContextSelection {get, init}&#10;+ ContributingCount: int {get, init}&#10;+ 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="n470">
<mxGeometry as="geometry" x="0" y="82" width="520" height="252" />
</mxCell>
<mxCell id="n472" value="+ HealthInsightDto(Guid PatientId, DateTime PeriodStart, DateTime&#10;PeriodEnd, decimal AverageSystolic, decimal AverageDiastolic, decimal&#10;AveragePulse, int MinSystolic, int MaxSystolic, int MinDiastolic, int&#10;MaxDiastolic, ContextSelection AppliedSelection, int ContributingCount,&#10;string ContextExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n470">
<mxGeometry as="geometry" x="0" y="334" width="520" height="108" />
</mxCell>
<mxCell id="n470-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n470">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="334" />
<mxPoint as="targetPoint" x="520" y="334" />
</mxGeometry>
</mxCell>
<mxCell id="n473" value="«record»&#10;HealthOverviewDto&#10;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="n474" value="+ Patient: PatientDto {get, init}&#10;+ LatestObservation: ObservationDto? {get, init}&#10;+ Insight: HealthInsightDto? {get, init}&#10;+ PeriodStart: DateTime {get, init}&#10;+ PeriodEnd: DateTime {get, init}&#10;+ InsightSelection: ContextSelection {get, init}&#10;+ InsightContributingCount: int {get, init}&#10;+ LatestObservationBasis: string {get, init}&#10;+ 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="n473">
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
</mxCell>
<mxCell id="n475" value="+ HealthOverviewDto(PatientDto Patient, ObservationDto?&#10;LatestObservation, HealthInsightDto? Insight, DateTime PeriodStart,&#10;DateTime PeriodEnd, ContextSelection InsightSelection, int&#10;InsightContributingCount, string LatestObservationBasis, string&#10;InsightExplanation)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n473">
<mxGeometry as="geometry" x="0" y="262" width="520" height="108" />
</mxCell>
<mxCell id="n473-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n473">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="262" />
<mxPoint as="targetPoint" x="520" y="262" />
</mxGeometry>
</mxCell>
<mxCell id="n476" value="«record»&#10;MeasurementContextDto&#10;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="n477" value="+ Setting: string {get, init}&#10;+ ActivityCondition: string {get, init}&#10;+ RestDurationMinutes: decimal? {get, init}&#10;+ BodyPosition: string? {get, init}&#10;+ MeasuredArm: string? {get, init}&#10;+ DeviceDetails: string? {get, init}&#10;+ CuffDetails: string? {get, init}&#10;+ 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="n476">
<mxGeometry as="geometry" x="0" y="82" width="520" height="162" />
</mxCell>
<mxCell id="n478" value="+ MeasurementContextDto(string Setting, string ActivityCondition,&#10;decimal? RestDurationMinutes, string? BodyPosition, string? MeasuredArm,&#10;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="n476">
<mxGeometry as="geometry" x="0" y="244" width="520" height="72" />
</mxCell>
<mxCell id="n476-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n476">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="244" />
<mxPoint as="targetPoint" x="520" y="244" />
</mxGeometry>
</mxCell>
<mxCell id="n479" value="«record»&#10;ObservationDto&#10;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="n480" value="+ ObservationId: Guid {get, init}&#10;+ PatientId: Guid {get, init}&#10;+ MeasuredAt: DateTime {get, init}&#10;+ Systolic: int {get, init}&#10;+ Diastolic: int {get, init}&#10;+ Pulse: int {get, init}&#10;+ Context: string? {get, init}&#10;+ Note: string? {get, init}&#10;+ 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="n479">
<mxGeometry as="geometry" x="0" y="82" width="520" height="180" />
</mxCell>
<mxCell id="n481" value="+ ObservationDto(Guid ObservationId, Guid PatientId, DateTime&#10;MeasuredAt, int Systolic, int Diastolic, int Pulse, string? Context, string?&#10;Note, MeasurementContextDto MeasurementContext)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n479">
<mxGeometry as="geometry" x="0" y="262" width="520" height="72" />
</mxCell>
<mxCell id="n479-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n479">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="262" />
<mxPoint as="targetPoint" x="520" y="262" />
</mxGeometry>
</mxCell>
<mxCell id="n482" value="«record»&#10;PatientDto&#10;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="n483" value="+ PatientId: Guid {get, init}&#10;+ Name: string {get, init}&#10;+ DateOfBirth: DateOnly {get, init}&#10;+ 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="n482">
<mxGeometry as="geometry" x="0" y="82" width="520" height="90" />
</mxCell>
<mxCell id="n484" value="+ PatientDto(Guid PatientId, string Name, DateOnly DateOfBirth, string?&#10;ContactInfo)" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n482">
<mxGeometry as="geometry" x="0" y="172" width="520" height="54" />
</mxCell>
<mxCell id="n482-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n482">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="172" />
<mxPoint as="targetPoint" x="520" y="172" />
</mxGeometry>
</mxCell>
<mxCell id="n485" value="«class»&#10;HttpInsightsServiceClient&#10;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="n486" 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="n485">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n487" value="+ HttpInsightsServiceClient(HttpClient client)&#10;+ GetSummaryAsync(Guid patientId, DateTime from, DateTime to,&#10;ContextSelection selection, CancellationToken cancellationToken):&#10;Task&lt;HealthInsightDto?&gt;" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n485">
<mxGeometry as="geometry" x="0" y="118" width="520" height="90" />
</mxCell>
<mxCell id="n485-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n485">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n488" value="«class»&#10;HttpObservationServiceClient&#10;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="n489" 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="n488">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n490" value="+ HttpObservationServiceClient(HttpClient client)&#10;+ GetLatestAsync(Guid patientId, CancellationToken cancellationToken):&#10;Task&lt;ObservationDto?&gt;" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n488">
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
</mxCell>
<mxCell id="n488-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n488">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n491" value="«class»&#10;HttpPatientProfileServiceClient&#10;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="n492" 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="n491">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n493" value="+ HttpPatientProfileServiceClient(HttpClient client)&#10;+ GetPatientAsync(Guid patientId, CancellationToken cancellationToken):&#10;Task&lt;PatientDto?&gt;" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n491">
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
</mxCell>
<mxCell id="n491-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n491">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n494" value="«abstract class»&#10;InsightsServiceClient&#10;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="n495" 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="n494">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n496" value="+ GetSummaryAsync(Guid patientId, DateTime from, DateTime to,&#10;ContextSelection selection, CancellationToken cancellationToken):&#10;Task&lt;HealthInsightDto?&gt; {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n494">
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
</mxCell>
<mxCell id="n494-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n494">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n497" value="«abstract class»&#10;ObservationServiceClient&#10;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="n498" 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="n497">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n499" value="+ GetLatestAsync(Guid patientId, CancellationToken cancellationToken):&#10;Task&lt;ObservationDto?&gt; {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n497">
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
</mxCell>
<mxCell id="n497-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n497">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n500" value="«abstract class»&#10;PatientProfileServiceClient&#10;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="n501" 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="n500">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n502" value="+ GetPatientAsync(Guid patientId, CancellationToken cancellationToken):&#10;Task&lt;PatientDto?&gt; {abstract}" style="text;html=0;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;spacing=8;fillColor=none;strokeColor=none;" vertex="1" parent="n500">
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
</mxCell>
<mxCell id="n500-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n500">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n503" value="«class»&#10;Program&#10;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="n504" 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="n503">
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
</mxCell>
<mxCell id="n505" value="+ Main(string[] args): void {static}&#10;- 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="n503">
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
</mxCell>
<mxCell id="n503-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n503">
<mxGeometry as="geometry" relative="1">
<mxPoint as="sourcePoint" x="0" y="118" />
<mxPoint as="targetPoint" x="520" y="118" />
</mxGeometry>
</mxCell>
<mxCell id="n506" value="«framework reference»&#10;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="n507" value="«framework reference»&#10;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="e507-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n464" target="n494" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-1" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n464" target="n497" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n464" target="n500" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n464" target="n467" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n464" target="n473" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-5" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n494" target="n467" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n494" target="n470" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-7" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n485" target="n494" relationship="generalization">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n485" target="n467" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n485" target="n470" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-10" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n497" target="n479" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-11" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n488" target="n497" relationship="generalization">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-12" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n488" target="n479" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-13" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n500" target="n482" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-14" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n491" target="n500" relationship="generalization">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-15" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n491" target="n482" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-16" value="MeasurementContext [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n479" target="n476" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-17" value="AppliedSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n470" target="n467" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-18" value="InsightSelection [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n473" target="n467" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-19" value="Patient [1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n473" target="n482" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-20" value="LatestObservation [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n473" target="n479" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-21" value="Insight [0..1]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n473" target="n470" relationship="association">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-22" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n461" target="n464" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-23" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n461" target="n467" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-24" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n461" target="n473" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-25" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n464" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-26" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n494" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-27" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n485" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-28" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n497" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-29" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n488" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-30" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n500" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-31" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n503" target="n491" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-32" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n485" target="n507" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-33" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n488" target="n507" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-34" value="constructor dependency" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n491" target="n507" relationship="dependency">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="e507-35" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n461" target="n506" relationship="generalization">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="n508" 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>
</mxfile>