Initial commit: architecture design instructions and documentation
This commit is contained in:
commit
4bbf5afe3e
64 files changed
+8819
No files matched your search
@@ -0,0 +1,349 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
|
||||
<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="n117" 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="n118" 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="n119" 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="n120" 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="n119">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n121" 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="n119">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="198" />
|
||||
</mxCell>
|
||||
<mxCell id="n119-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n119">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n122" 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="n123" 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="n122">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n124" 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="n122">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="180" />
|
||||
</mxCell>
|
||||
<mxCell id="n122-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n122">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n125" 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="n126" 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="n125">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n127" 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="n125">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="162" />
|
||||
</mxCell>
|
||||
<mxCell id="n125-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n125">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n128" 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="n129" 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="n128">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n130" 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="n128">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n128-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n128">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n131" 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="n132" 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="n131">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n133" 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="n131">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n131-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n131">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n134" 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="n135" 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="n134">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n136" 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="n134">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="180" />
|
||||
</mxCell>
|
||||
<mxCell id="n134-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n134">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n137" 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="n138" 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="n137">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="144" />
|
||||
</mxCell>
|
||||
<mxCell id="n139" 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="n137">
|
||||
<mxGeometry as="geometry" x="0" y="226" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n137-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n137">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="226" />
|
||||
<mxPoint as="targetPoint" x="520" y="226" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n140" 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="n141" 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="n140">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n142" 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="n140">
|
||||
<mxGeometry as="geometry" x="0" y="154" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n140-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n140">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="154" />
|
||||
<mxPoint as="targetPoint" x="520" y="154" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n143" 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="n144" 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="n143">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="90" />
|
||||
</mxCell>
|
||||
<mxCell id="n145" 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="n143">
|
||||
<mxGeometry as="geometry" x="0" y="172" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n143-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n143">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="172" />
|
||||
<mxPoint as="targetPoint" x="520" y="172" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n146" 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="n147" 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="n146">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="54" />
|
||||
</mxCell>
|
||||
<mxCell id="n148" 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="n146">
|
||||
<mxGeometry as="geometry" x="0" y="136" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n146-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n146">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="136" />
|
||||
<mxPoint as="targetPoint" x="520" y="136" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n149" 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="n150" 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="n149">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n151" 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="n149">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n149-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n149">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n152" 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="n153" 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="n154" 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="e154-0" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n122" target="n125" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-1" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n122" target="n128" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-2" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n122" target="n140" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-3" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n122" target="n146" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-4" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n122" target="n137" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-5" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n125" target="n137" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-6" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n119" target="n122" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-7" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n119" target="n140" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-8" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n119" target="n143" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-9" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n119" target="n146" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-10" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n119" target="n137" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-14" value="Patients [0..*]" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="n131" target="n137" relationship="association">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-15" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=block;endFill=0;" edge="1" parent="1" source="n134" target="n125" relationship="realization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-16" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n134" target="n128" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-17" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n134" target="n137" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-18" value="signature / constructor" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n134" target="n131" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-19" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n149" target="n122" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-20" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n149" target="n131" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-21" value="registers / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n149" target="n134" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-22" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n128" target="n152" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n119" target="n153" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e154-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n131" target="n154" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="n155" 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="n195" 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="n196" 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="n197" 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="n198" 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="n197">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n199" 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="n197">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n197-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n197">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n200" 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="n201" 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="n200">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n202" 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="n200">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="72" />
|
||||
</mxCell>
|
||||
<mxCell id="n200-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n200">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n203" 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="n204" 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="n203">
|
||||
<mxGeometry as="geometry" x="0" y="82" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n205" 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="n203">
|
||||
<mxGeometry as="geometry" x="0" y="118" width="520" height="36" />
|
||||
</mxCell>
|
||||
<mxCell id="n203-sep" style="endArrow=none;strokeColor=#444444;" edge="1" parent="n203">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="0" y="118" />
|
||||
<mxPoint as="targetPoint" x="520" y="118" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="n206" 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="n207" 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="n208" 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="e208-11" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n200" target="n208" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e208-12" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n197" target="n208" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e208-13" value="creates / configures" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;dashed=1;endArrow=open;" edge="1" parent="1" source="n203" target="n208" relationship="dependency">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e208-22" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n200" target="n206" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e208-23" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n197" target="n206" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="e208-24" value="" style="edgeStyle=orthogonalEdgeStyle;html=0;rounded=0;fontSize=11;labelBackgroundColor=#ffffff;endArrow=block;endFill=0;" edge="1" parent="1" source="n203" target="n207" relationship="generalization">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="n209" 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>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user