Form DifferentialDiagnose
Synopsis
- modal Dialog to show a chart with probabilities.
- This is a bootstrap modal form.
Url/Route
None, modal form.
Data
Following data must be passed on to the form:
- SelectedDiagnose (a TDiagnose)
- selectedSymptoms (list of selected symptoms TSelectedSymptom)
- Rank (an integer)
- Probability (a double)
GUI
On show, execute Initialize action
Top
- Label (name: lblDiffferentialDiagnose) text: (string 144)
Your differential diagnosis: {{Diagnosis.Name.Language}} - Label (name: lblRank) text: (string 151)
Its current rank order by probability: {{Rank}} - Label (name: lblProbability) text: (string 152)
Its current probability: {{Probability}} %
Center
2 columns
Left Column
- label (lblDiffExplainedSymptoms) text (string 145)
Your diagnosis may indeed explain these arguments: - Grid (name: grdDiffExplainedSymptoms), 1 column.
Right Column
- label (lblAbsentSymptoms) text (string 146)
These arguments are absent, but they are associated with your diagnosis: - Grid (name: grdAbsentSymtoms) 1 column.
Bottom
- label (lblDiffUnExplainedSymptoms) text (string 147)
These arguments are not explained by your diagnosis: - Grid (name: grdDiffUnExplainedSymtoms), 1 column.
- Button (name: btnClose), text Close (string 233)
Actions
Initialize
-
In all cases below, display Symptom.Name.Language
-
Fill grid grdExplainedSymtoms with all symptoms where:
- SelectedSymptom.Present is false
- Symptom is associated with SelectedDiagnosis. (i.e. an Association record exists )
-
Fill grid grdAbsentSymtoms with symptoms where;:
- Symptom is associated with SelectedDiagnosis. (i.e. an Association record exists)
- is present in SelectedSymptoms
- SelectedSymptom.Present is false Display Symptom.Name.Language
-
Fill grid grdUnExplainedSymtoms with symptoms where:
- Symtom is present in SelectedSymptoms
- Is Not associated with SelectedDiagnosis. (i.e. No Association record exists)