Quellcode-Bibliothek PacemakerAOO.vdmsl
Interaktion und PortierbarkeitVDM
\section{AOO mode requirements}
The AOO code states
\begin{itemize}
\item[A] Pace the Atria
\item[O] Without sensing the chambers
\item[O] Without response to sensing
\end{itemize}
\noindent meaning that the pacemaker must pace the atria chamber discarding any sensed data from the chambers just regarding the programmable parameters.
\paragraph{Programmable parameters requirements}
\begin{itemize}
\item LRL\ref{sym:LRL} shall be 60 ppm
\item URL\ref{sym:URL} shall be 120 ppm
\end{itemize}
\paragraph{Purpose and abstraction level}
The purpose isto model and validate the requirements of the Pacemaker AOO mode.
\begin{itemize}
\item Atrial Amplitude, Atrial Pulse Withand Sensitivity are discarded because they are not relevant for the propose and don't add any understanding of the mode of pacing.
\item In this mode the paced/sensed chamber isalways the atria so the other chambers are discarded in the model.
\end{itemize}
\subsection*{VDM-SL module}
The model of the requirements startby defining the value of the LRL.
\begin{vdm_al} module PacemakerAOO
definitions
values
LRL : nat = 60;
\end{vdm_al}
The input is a sequence and each element of it corresponds to a time unit abstraction (in this case 1 millisecond).
And because LRL is defined as a minimum, the pacemaker it is modelled as an implicit function stating that the ppm rate is larger or equal the LRL\cite{www:PacemakerCycles}.
\begin{vdm_al}
Pacemaker (inp : SenseTimeline) r : ReactionTimeline postlet m = {i | i insetdom r & r(i) = <PULSE>} incarddom r = carddom inp and carddom inp > 1 => r(1) = <PULSE> and forall x inset m & (
(exists y inset m & y > x) =>
(exists y inset m & abs(x - y) <= 60000/LRL and x <> y));
end PacemakerAOO
\end{vdm_al}
\paragraph{Requirements review}
\begin{itemize}
\item LRL \textbf{Modelled}
\item URL is the maximum rate at which the paced ventricular rate will track sensed atrial events. The URL interval is the minimum time between a ventricular event and the next ventricular pace.\textbf{Not modelled}\footnote{We discovered this requirement is contradictory and its a minor errorin a table from the specification.}
\end{itemize}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.14Bemerkung:
Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.