Restructure project requirements and design documentation

This commit is contained in:
Steffen committed 2026-10-04 16:20:06 +02:00
1 parent fa5e20f4d6
commit ebf50827d6
32 files changed
+2078 -485

No files matched your search

@@ -0,0 +1,34 @@
<mxfile host="Electron">
<diagram id="08_er_observation_service" name="Observation Service — updated logical persistence model">
<mxGraphModel dx="1721" dy="1021" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1740" pageHeight="900" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="title" parent="1" style="text;html=0;fontSize=24;fontStyle=1;align=center;" value="Observation Service — updated logical persistence model" vertex="1">
<mxGeometry height="50" width="1660" x="40" y="10" as="geometry" />
</mxCell>
<mxCell id="e0" edge="1" parent="1" source="o" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="p" value="contains optional value">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="o" parent="1" style="swimlane;html=0;startSize=36;horizontal=1;fillColor=#eeeeee;swimlaneFillColor=#ffffff;strokeColor=#333333;fontColor=#111111;fontSize=17;fontStyle=1;align=center;" value="BloodPressureObservation «owned record»" vertex="1">
<mxGeometry height="550" width="700" x="60" y="110" as="geometry" />
</mxCell>
<mxCell id="obody" parent="o" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="PK observation_id: UUID&#xa;patient_id: UUID (external identifier)&#xa;measured_at: timestamp&#xa;systolic / diastolic / pulse: integers&#xa;context: optional original text&#xa;note: optional text&#xa;setting: category or unknown&#xa;activity_condition: category or unknown&#xa;preparation_details: optional owned value&#xa;additional_circumstances: optional text&#xa;created_at: original recording timestamp&#xa;updated_at: update timestamp" vertex="1">
<mxGeometry height="514" width="700" y="36" as="geometry" />
</mxCell>
<mxCell id="p" parent="1" style="swimlane;html=0;startSize=36;horizontal=1;fillColor=#eeeeee;swimlaneFillColor=#ffffff;strokeColor=#333333;fontColor=#111111;fontSize=17;fontStyle=1;align=center;" value="Preparation details «logical value»" vertex="1">
<mxGeometry height="320" width="650" x="970" y="110" as="geometry" />
</mxCell>
<mxCell id="pbody" parent="p" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="rest duration (with unit), if recorded&#xa;body position, if recorded&#xa;measured arm, if recorded&#xa;device details, if recorded&#xa;cuff details, if recorded&#xa;Unknown is not presumed correct technique" vertex="1">
<mxGeometry height="284" width="650" y="36" as="geometry" />
</mxCell>
<mxCell id="note0" parent="1" style="text;html=0;align=left;fontSize=15;" value="This logical model supersedes the old field list; it does not mandate a separate preparation table." vertex="1">
<mxGeometry height="25" width="1660" x="40" y="795" as="geometry" />
</mxCell>
<mxCell id="note1" parent="1" style="text;html=0;align=left;fontSize=15;" value="Patient identifier is not a cross-service database foreign key." vertex="1">
<mxGeometry height="25" width="1660" x="40" y="820" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>