R211B4
- A new sticky template widget - sedit-list - which does not require a preceding radio-group
group-box "low back pain examination" -1x-1 data [
slabel "gait" (wide) edit-list "" data [ "normal" "antalgic" ] return
slabel "gait2" (wide) sedit-list "" data [ "normal" "antalgic" ]
]
If you look at this template there is no preceding radio-group infront of the edit-list ( first row of widgets in the template). So, even though you populate the edit-list with data, eg "antalgic", when you save it ... the text is not incorporated into the consultation. You only get "gait". The reason for this is that the radio-group allows you to ignore parts of the examination.
However, if you always want to examine everything, it would be tedious having to put in a radio-group in front of each edit-list. Hence the new widget, which is a sticky one, the sedit-list. You will note that if you populate the sedit-list, the text is now incorporated into the consult. But if you leave it blank, the text " untested " appears instead. We might possibly change this.
So, we have either : gait2 antalgic, or gait2 normal, or gait2 untested as possible outcomes from the bottom row of widgets in this template.
Graham Chiu
Beta Downloads and Documentation Wiki
Developer Forum