Ga naar inhoud

Form SelectAlternateDiagnose

Synopsis

  • modal Dialog to show a chart with probabilities.
  • This is a bootstrap modal form.

Url/Route

None, modal form.

GUI

  • Label (name: lblTitle) with the following text: (string 215)
    It is not clear for the computer for which disease you asked this argument.
    Do you want to show me what diagnosis you were thinking of?
    
  • Label (name: lblDiagnoses) with text: "Diagnoses" (string 59)
  • Label (name: lblSearchTerm) initially empty.
    Diagnoses
    
  • Grid grdDiagnoses with 1 column.
  • On key: execute action FilterDiagnoses
  • On dubbelclick: execute OK action.
  • Button btnOK, label 'OK'
    • on click execute OK action.
  • Button btnClose, label 'Close' (string 233)
    • on click execute Close action
  • Before showing the form, fill grid as described in action ShowDiagnoses

Actions

ShowDiagnoses

  • Create an array of diagnoses allDiagnoses:
  • If Parameters.level='nurse' then select all diagnoses for which Diagnose.PC.Continent>Parameters.nurseLimit
  • If Parameters.level<>'nurse' then select all diagnoses
  • Show Diagnose.name.Language in the grid.

OK

  • Save the selected diagnose in the grid
  • Close Dialog

Cancel

  • Close dialog

FilterDiagnoses

  • Add key to searchterm.
  • Display searchterm in lblSearchTerm
  • Filter allDiagnoses on searchterm, order on match position and Diagnose.sortNr.language
  • Highlight search text in every cell.