2 lines
3.9 KiB
XML
2 lines
3.9 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<mxfile host="app.diagrams.net" version="24.7.17"><diagram id="08_er_observation_service" name="Observation Service — updated logical persistence model"><mxGraphModel dx="1740" dy="900" grid="1" gridSize="10" page="1" pageScale="1" pageWidth="1740" pageHeight="900"><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="title" value="Observation Service — updated logical persistence model" style="text;html=0;fontSize=24;fontStyle=1;align=center;" vertex="1" parent="1"><mxGeometry as="geometry" x="40" y="10" width="1660" height="50" /></mxCell><mxCell id="e0" value="contains optional value" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" edge="1" parent="1" source="o" target="p"><mxGeometry as="geometry" relative="1" /></mxCell><mxCell id="o" value="BloodPressureObservation «owned record»" style="swimlane;html=0;startSize=36;horizontal=1;fillColor=#eeeeee;swimlaneFillColor=#ffffff;strokeColor=#333333;fontColor=#111111;fontSize=17;fontStyle=1;align=center;" vertex="1" parent="1"><mxGeometry as="geometry" x="60" y="110" width="700" height="550" /></mxCell><mxCell id="obody" value="PK observation_id: UUID patient_id: UUID (external identifier) measured_at: timestamp systolic / diastolic / pulse: integers context: optional original text note: optional text setting: category or unknown activity_condition: category or unknown preparation_details: optional owned value additional_circumstances: optional text created_at: original recording timestamp updated_at: update timestamp" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" vertex="1" parent="o"><mxGeometry as="geometry" x="0" y="36" width="700" height="514" /></mxCell><mxCell id="p" value="Preparation details «logical value»" style="swimlane;html=0;startSize=36;horizontal=1;fillColor=#eeeeee;swimlaneFillColor=#ffffff;strokeColor=#333333;fontColor=#111111;fontSize=17;fontStyle=1;align=center;" vertex="1" parent="1"><mxGeometry as="geometry" x="970" y="110" width="650" height="320" /></mxCell><mxCell id="pbody" value="rest duration (with unit), if recorded body position, if recorded measured arm, if recorded device details, if recorded cuff details, if recorded Unknown is not presumed correct technique" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" vertex="1" parent="p"><mxGeometry as="geometry" x="0" y="36" width="650" height="284" /></mxCell><mxCell id="n" value="Persistence semantics" style="swimlane;html=0;startSize=36;horizontal=1;fillColor=#eeeeee;swimlaneFillColor=#ffffff;strokeColor=#333333;fontColor=#111111;fontSize=17;fontStyle=1;align=center;" vertex="1" parent="1"><mxGeometry as="geometry" x="970" y="510" width="650" height="250" /></mxCell><mxCell id="nbody" value="Context belongs to the observation No separate shared context database Partial update: omitted differs from cleared Delete removes observation context Old records preserve text and unknowns Physical column/JSON mapping is not fixed" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" vertex="1" parent="n"><mxGeometry as="geometry" x="0" y="36" width="650" height="214" /></mxCell><mxCell id="note0" value="This logical model supersedes the old field list; it does not mandate a separate preparation table." style="text;html=0;align=left;fontSize=15;" vertex="1" parent="1"><mxGeometry as="geometry" x="40" y="795" width="1660" height="25" /></mxCell><mxCell id="note1" value="Patient identifier is not a cross-service database foreign key." style="text;html=0;align=left;fontSize=15;" vertex="1" parent="1"><mxGeometry as="geometry" x="40" y="820" width="1660" height="25" /></mxCell></root></mxGraphModel></diagram></mxfile> |