83 lines
9.0 KiB
Plaintext
83 lines
9.0 KiB
Plaintext
<mxfile host="Electron">
|
|
<diagram id="05_class_insights_service" name="Insights Service — updated class and result model">
|
|
<mxGraphModel dx="1951" dy="1157" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1740" pageHeight="1220" 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="Insights Service — updated class and result model" vertex="1">
|
|
<mxGeometry height="50" width="1660" x="40" y="10" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e0" edge="1" parent="1" source="c" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="a" value="uses">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e1" edge="1" parent="1" source="a" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="http" value="uses">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e2" edge="1" parent="1" source="a" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="calc" value="uses">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e3" edge="1" parent="1" source="http" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="dto" value="returns">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e4" edge="1" parent="1" source="calc" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="trend" value="creates">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="e5" edge="1" parent="1" source="trend" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;endArrow=open;dashed=1;fontSize=13;labelBackgroundColor=#ffffff;" target="ma" value="contains three">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="c" 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="InsightsController" vertex="1">
|
|
<mxGeometry height="190" width="500" x="40" y="90" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="cbody" parent="c" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="getSummary(patientId, period, selection)
getTrend(patientId, period, selection)
Return result metadata and limitations" vertex="1">
|
|
<mxGeometry height="154" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="a" 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="InsightsApplicationService" vertex="1">
|
|
<mxGeometry height="190" width="500" x="620" y="90" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="abody" parent="a" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="Obtain current observations
Apply requested selection
Invoke summary / trend calculations" vertex="1">
|
|
<mxGeometry height="154" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="http" 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="ObservationServiceClient «interface»" vertex="1">
|
|
<mxGeometry height="190" width="500" x="1200" y="90" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="httpbody" parent="http" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="getByPeriod(patientId, period, selection)
HttpObservationServiceClient implements it
HTTP requests pass through API Gateway" vertex="1">
|
|
<mxGeometry height="154" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="calc" 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="InsightCalculator" vertex="1">
|
|
<mxGeometry height="190" width="500" x="620" y="390" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="calcbody" parent="calc" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="calculateSummary(observations, selection)
calculateTrend(observations, selection)
Document mathematical methods
No stored summaries or trend results" vertex="1">
|
|
<mxGeometry height="154" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="dto" 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="ObservationDto" vertex="1">
|
|
<mxGeometry height="230" width="500" x="1200" y="390" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="dtobody" parent="dto" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="observationId, patientId, measuredAt
systolic, diastolic, pulse
measurementContext (setting / conditions)
legacy context text and note
Carry unknown or conflicting context" vertex="1">
|
|
<mxGeometry height="194" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="sum" 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="HealthInsight" vertex="1">
|
|
<mxGeometry height="340" width="500" x="40" y="740" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="sumbody" parent="sum" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="patientId; periodStart; periodEnd
appliedSelection; contributingCount
averageSystolic / Diastolic / Pulse
minimumSystolic / maximumSystolic
minimumDiastolic / maximumDiastolic
context explanation
Final means: 2 decimals, half-up
No summary persistence identifier" vertex="1">
|
|
<mxGeometry height="304" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="trend" 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="TrendAssessment" vertex="1">
|
|
<mxGeometry height="340" width="500" x="620" y="740" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="trendbody" parent="trend" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="patientId; periodStart; periodEnd
appliedSelection; contributingCount
systolic: MeasurementAssessment
diastolic: MeasurementAssessment
pulse: MeasurementAssessment
comparability evidence and limitations
Unavailable parts explained explicitly" vertex="1">
|
|
<mxGeometry height="304" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="ma" 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="MeasurementAssessment «value object»" vertex="1">
|
|
<mxGeometry height="340" width="500" x="1260" y="740" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="mabody" parent="ma" style="text;html=0;align=left;verticalAlign=top;spacing=10;fontSize=15;fontFamily=Helvetica;whiteSpace=wrap;overflow=hidden;" value="measurement name and unit
observed level / numerical description
direction and variation when supported
interpretation and explanatory hint
reference values / guidance basis
data sufficiency and limitations
No direction inferred from storage order" vertex="1">
|
|
<mxGeometry height="304" width="500" y="36" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="note0" parent="1" style="text;html=0;align=left;fontSize=15;" value="HealthInsight is also created by InsightCalculator. All results reflect current observations." vertex="1">
|
|
<mxGeometry height="25" width="1660" x="40" y="1115" as="geometry" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile>
|