Architecture is proposed and there are also alternative architectures proposed
This commit is contained in:
1 parent
ccf9041183
commit
3426236c6c
24 files changed
+2516
No files matched your search
@@ -0,0 +1,461 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" type="device" compressed="false">
|
||||
<diagram id="seq0" name="Login and initial profile creation">
|
||||
<mxGraphModel grid="1" page="1" pageWidth="1440" pageHeight="1115">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Login and initial profile creation" style="text;fontSize=23;align=left;html=0;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="15" width="1320" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="actor0" value="Client" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="50" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life0" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="135" />
|
||||
<mxPoint as="targetPoint" x="180" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor1" value="API/access" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="380" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life1" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="135" />
|
||||
<mxPoint as="targetPoint" x="510" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor2" value="Profile" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="710" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life2" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="135" />
|
||||
<mxPoint as="targetPoint" x="840" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor3" value="PostgreSQL" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1040" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life3" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="135" />
|
||||
<mxPoint as="targetPoint" x="1170" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg0" value="1. HTTPS credentials; generic failure on invalid login" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="190" />
|
||||
<mxPoint as="targetPoint" x="510" y="190" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg1" value="2. Framework verify; issue protected time-limited ticket" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="275" />
|
||||
<mxPoint as="targetPoint" x="610" y="300" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg2" value="3. Bearer token / trusted role; no patient data" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="360" />
|
||||
<mxPoint as="targetPoint" x="180" y="360" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg3" value="4. POST profile + bearer" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="445" />
|
||||
<mxPoint as="targetPoint" x="510" y="445" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg4" value="5. Patient-only; account ID from validated identity" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="530" />
|
||||
<mxPoint as="targetPoint" x="840" y="530" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg5" value="6. Transaction: profile + account UNIQUE association" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="615" />
|
||||
<mxPoint as="targetPoint" x="1170" y="615" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg6" value="7. Commit; conflict → existing profile; failure → rollback" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="700" />
|
||||
<mxPoint as="targetPoint" x="840" y="700" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg7" value="8. Success only after commit; stable generated ID" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="785" />
|
||||
<mxPoint as="targetPoint" x="510" y="785" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg8" value="9. Created / existing-profile / failure; /me recovers ID" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="870" />
|
||||
<mxPoint as="targetPoint" x="180" y="870" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="note" value="Lost success response retry reports existing profile. Interrupted uncommitted insert rolls back; concurrency is guarded by unique account constraint. No separate association step or saga. Login is allowed before profile creation; professional creation rejected." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="965" width="1320" height="105" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="seq1" name="Actual-owner observation correction and deletion">
|
||||
<mxGraphModel grid="1" page="1" pageWidth="1770" pageHeight="1285">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Actual-owner observation correction and deletion" style="text;fontSize=23;align=left;html=0;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="15" width="1650" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="actor0" value="Client" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="50" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life0" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="135" />
|
||||
<mxPoint as="targetPoint" x="180" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor1" value="API/access" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="380" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life1" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="135" />
|
||||
<mxPoint as="targetPoint" x="510" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor2" value="Observations" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="710" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life2" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="135" />
|
||||
<mxPoint as="targetPoint" x="840" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor3" value="Profile / assignment policy" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1040" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life3" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="135" />
|
||||
<mxPoint as="targetPoint" x="1170" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor4" value="PostgreSQL" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1370" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life4" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1500" y="135" />
|
||||
<mxPoint as="targetPoint" x="1500" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg0" value="1. GET / PATCH / DELETE observation ID + bearer" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="190" />
|
||||
<mxPoint as="targetPoint" x="510" y="190" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg1" value="2. Internal owner lookup within request transaction" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="275" />
|
||||
<mxPoint as="targetPoint" x="840" y="275" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg2" value="3. Read actual owner; never expose before access check" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="360" />
|
||||
<mxPoint as="targetPoint" x="1500" y="360" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg3" value="4. owner patient ID or absent" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1500" y="445" />
|
||||
<mxPoint as="targetPoint" x="840" y="445" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg4" value="5. Current account association / predefined assignment" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="530" />
|
||||
<mxPoint as="targetPoint" x="1170" y="530" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg5" value="6. Own patient or assigned read; professional write forbidden" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="615" />
|
||||
<mxPoint as="targetPoint" x="510" y="615" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg6" value="7. Authorized context: current read / locked mutation" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="700" />
|
||||
<mxPoint as="targetPoint" x="840" y="700" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg7" value="8. Recheck owner; validate all changes; atomic patch/delete" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="785" />
|
||||
<mxPoint as="targetPoint" x="1500" y="785" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg8" value="9. Commit / rollback; preserve omitted fields and other rows" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1500" y="870" />
|
||||
<mxPoint as="targetPoint" x="840" y="870" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg9" value="10. Current authorized result / success / safe error" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="955" />
|
||||
<mxPoint as="targetPoint" x="510" y="955" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg10" value="11. Response; unauthorized data never serialized" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="1040" />
|
||||
<mxPoint as="targetPoint" x="180" y="1040" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="note" value="Mutations use row-locked write transaction; reads use snapshot. Actual patient identity cannot be replaced by a submitted ID/header. Clear → Unknown; invalid patch applies nothing. New requests after deletion commit exclude observation and context." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="1135" width="1650" height="105" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="seq2" name="Insight, trend and overview snapshot composition">
|
||||
<mxGraphModel grid="1" page="1" pageWidth="1770" pageHeight="1285">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Insight, trend and overview snapshot composition" style="text;fontSize=23;align=left;html=0;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="15" width="1650" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="actor0" value="Client" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="50" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life0" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="135" />
|
||||
<mxPoint as="targetPoint" x="180" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor1" value="API/access" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="380" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life1" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="135" />
|
||||
<mxPoint as="targetPoint" x="510" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor2" value="Overview / Analytics" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="710" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life2" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="135" />
|
||||
<mxPoint as="targetPoint" x="840" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor3" value="Profile / Observations" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1040" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life3" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="135" />
|
||||
<mxPoint as="targetPoint" x="1170" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor4" value="PostgreSQL" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1370" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life4" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1500" y="135" />
|
||||
<mxPoint as="targetPoint" x="1500" y="1105" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg0" value="1. GET overview / insight / trend + period and selection" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="190" />
|
||||
<mxPoint as="targetPoint" x="510" y="190" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg1" value="2. Begin snapshot; resolve account association / assignment" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="275" />
|
||||
<mxPoint as="targetPoint" x="1170" y="275" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg2" value="3. Authorized context; validate period/selection" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="360" />
|
||||
<mxPoint as="targetPoint" x="840" y="360" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg3" value="4. Join same read snapshot started for access lookup" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="445" />
|
||||
<mxPoint as="targetPoint" x="1500" y="445" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg4" value="5. Overview: profile + latest overall; selected series once" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="530" />
|
||||
<mxPoint as="targetPoint" x="1170" y="530" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg5" value="6. Inclusive patient/period; AND context filters" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="615" />
|
||||
<mxPoint as="targetPoint" x="1500" y="615" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg6" value="7. Current immutable profile/latest/selected raw values" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1500" y="700" />
|
||||
<mxPoint as="targetPoint" x="1170" y="700" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg7" value="8. Source values captured; release DB snapshot" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="785" />
|
||||
<mxPoint as="targetPoint" x="840" y="785" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg8" value="9. SummaryPolicy or full-period TrendPolicy + ClinicalPolicy" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="870" />
|
||||
<mxPoint as="targetPoint" x="940" y="895" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg9" value="10. Overview preserves separate bases; no trend added" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="955" />
|
||||
<mxPoint as="targetPoint" x="510" y="955" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg10" value="11. Results/count/selection/context limits or honest failure" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="1040" />
|
||||
<mxPoint as="targetPoint" x="180" y="1040" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="note" value="Logical message numbering describes a shared request transaction: access-policy reads and module reads share the snapshot from their first DB operation. Empty insight preserves available overview parts; dependency failure never means no data. Latest ignores insight period/context. No result cache/persistence." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="1135" width="1650" height="105" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="seq3" name="Native installation and verification">
|
||||
<mxGraphModel grid="1" page="1" pageWidth="1440" pageHeight="1115">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Native installation and verification" style="text;fontSize=23;align=left;html=0;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="30" y="15" width="1320" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="actor0" value="Administrator" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="50" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life0" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="135" />
|
||||
<mxPoint as="targetPoint" x="180" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor1" value="Installer utility" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="380" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life1" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="135" />
|
||||
<mxPoint as="targetPoint" x="510" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor2" value="PostgreSQL" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="710" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life2" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="840" y="135" />
|
||||
<mxPoint as="targetPoint" x="840" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="actor3" value="systemd / app" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1040" y="80" width="260" height="55" />
|
||||
</mxCell>
|
||||
<mxCell id="life3" style="dashed=1;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="1170" y="135" />
|
||||
<mxPoint as="targetPoint" x="1170" y="935" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg0" value="1. Select app + local or remote DB topology" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="180" y="190" />
|
||||
<mxPoint as="targetPoint" x="510" y="190" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg1" value="2. Preflight; detect/install supported dependencies" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="275" />
|
||||
<mxPoint as="targetPoint" x="610" y="300" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg2" value="3. Create DB/schemas/roles; generated protected credentials" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="360" />
|
||||
<mxPoint as="targetPoint" x="840" y="360" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg3" value="4. Generate/API certificate/trust/key/config; migrate" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="445" />
|
||||
<mxPoint as="targetPoint" x="610" y="470" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg4" value="5. Register dedicated app unit; enable/start" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="530" />
|
||||
<mxPoint as="targetPoint" x="1170" y="530" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg5" value="6. Verify app PID + HTTPS + configured DB reachability" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="615" />
|
||||
<mxPoint as="targetPoint" x="1170" y="615" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg6" value="7. Representative synthetic profile/observation/overview flows" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="700" />
|
||||
<mxPoint as="targetPoint" x="1170" y="700" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg7" value="8. Demonstrate app stop/restart independent of PostgreSQL" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="785" />
|
||||
<mxPoint as="targetPoint" x="1170" y="785" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="msg8" value="9. Success or precise failed stage; utility exits" style="html=0;endArrow=open;fontSize=12;labelBackgroundColor=#ffffff;" edge="1" parent="1">
|
||||
<mxGeometry as="geometry" relative="1">
|
||||
<mxPoint as="sourcePoint" x="510" y="870" />
|
||||
<mxPoint as="targetPoint" x="180" y="870" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="note" value="No implementation supplied. Privileged migration separate from runtime DML. Normal path needs no manually invented secret/database/certificate. Original independent-feature installation criteria require revision; same single app supports local/remote DB configuration." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="40" y="965" width="1320" height="105" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user