documented the architecture and design as is
This commit is contained in:
1 parent
5d9371388c
commit
2117236366
20 files changed
+6449
No files matched your search
@@ -0,0 +1,47 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" version="24.7.17" compressed="false">
|
||||
<diagram id="p1" name="Ownership and physical persistence">
|
||||
<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="1400" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="c1" value="Ownership and physical persistence" 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="c2" value="Patient/Profile process PatientDbContext / SqlPatientRepository Own credentials only" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="120" width="450" height="160" />
|
||||
</mxCell>
|
||||
<mxCell id="c3" value="Observation process ObservationDbContext / SqlObservationRepository Own credentials only" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#d5e8d4;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="900" y="120" width="450" height="160" />
|
||||
</mxCell>
|
||||
<mxCell id="c4" value="Patient database: patient PK patient_id UUID account_id TEXT nullable; UNIQUE name VARCHAR NOT NULL date_of_birth DATE NOT NULL contact_info VARCHAR nullable created_at / updated_at TIMESTAMP NOT NULL + __EFMigrationsHistory" 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="420" width="520" height="310" />
|
||||
</mxCell>
|
||||
<mxCell id="c5" value="Observation database: blood_pressure_observation PK observation_id UUID; external patient_id UUID measured_at / created_at / updated_at TIMESTAMP systolic / diastolic / pulse INTEGER NOT NULL context / note VARCHAR nullable setting / activity_condition TEXT NOT NULL = Unknown rest_duration_minutes NUMERIC nullable body_position / measured_arm / device_details / cuff_details / additional_circumstances TEXT nullable + __EFMigrationsHistory" 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="900" y="420" width="650" height="350" />
|
||||
</mxCell>
|
||||
<mxCell id="c6" value="EF Core / own role" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c2" target="c4">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c7" value="EF Core / own role" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=classic;" edge="1" parent="1" source="c3" target="c5">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c8" value="Logical patient_id reference ONLY No SQL access / FK / join" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;endArrow=none;" edge="1" parent="1" source="c5" target="c4">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="c9" value="Gateway-owned files/configuration Configured password hashes + roles Configured professional assignment IDs Persistent Data Protection XML key ring No Gateway clinical database" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#dae8fc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="900" width="520" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c10" value="Insights / Overview Deserialize local wire DTOs Calculate/compose results in request memory No result database, stored IDs or cache No source-database credentials" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#dae8fc;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="640" y="900" width="490" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c11" value="Administrative deployment material Manifest/service.env/JSON/PFX Generated account passwords and service/DB keys Protected root/admin files; scoped distribution Public CA exported; signing key not retained" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#f5f5f5;strokeColor=#666666;fontSize=14;align=left;verticalAlign=top;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1180" y="900" width="450" height="220" />
|
||||
</mxCell>
|
||||
<mxCell id="c12" value="TIMESTAMP means timestamp without time zone, interpreted as UTC clock values. MeasurementContext uses columns in the observation row, not a separate table. Only PK and account uniqueness indexes are declared. Diagram shows logical database owners; PostgreSQL servers may be colocated or separate. Sources: DbContexts, migrations, Deployment/DatabaseProvisioning." 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="1220" width="1630" height="100" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user