Menu

#11 Rendering of Alert System Information in HTML Output

asap
closed
Tooling (8)
2021-04-05
2021-02-04
Martin
No

This issue is related to the current state at commits [925a90], [2ba206].

For EndoCam and HF surgical equipment the alert systems are not part of the HTML output. The heading is displayed, while there is no table.
It works fine for EndoLight. Thus, a possible assumption is that the tooling needs the optional element pm:PoCSpecAlertGroup

Related

Commit: [2ba206]
Commit: [925a90]

Discussion

  • Jan Schlamelcher

    • status: open --> closed
     
  • Jan Schlamelcher

    Your assumption was exactly right, Martin. The code only handled the general alert system properties and than traversed into alert group specific code, ignoring any alert conditions defined directly below the alert system element.

    Commit #ef9197fa600bd71099 fixes the issue by moving the code for generating alert condition tables into a separate function an then calling this function for both the alert system and any alert group elements below it.

    I believe we are probably not mixing alert systems containing groups and alert systems without grouping, but if we are, the order I defined is to first print all alert conditions directly below the alert system element and then (afterwards) all the ones inside groups. If we need another order or need to make it customizable, just reopen this issue.

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.