Nursing FIM Worksheet Assessment Part 2
Tuesday, November 11th, 2008With version 0.85 we have a a few new features in the form editor that automate many of steps to building new forms.
Paste Controls into a form
Since I had build a form per section in the FIM assessment I wanted to paste the first 21 controls as a template into each form. Rather than going into each and using Paste, there is now a control on the form list that allows you to paste controls in your buffer into all selected forms. The forms must be empty but still this saves a fair amount of time.
Replicating controls for terms
Now that we have a template set of controls in the form we want to replicate each line for each term in the subcategory. This is where it became very convenient to have a subcategory per term.
First we open the template form and select the last 7 controls to replicate.
Next we press the replicate toolbar button and select the term subcategory for the terms we need. In this case typing the word ‘expression’ filters the list to the subcategory we need.
Next we are prompted to select the terms from the subcategory. It is ordered the same as they were uploaded in order to match the originating form.
Note the form can be maximized by clicking the icon in the top right toolbar corner.
Finally after clicking OK the system prompts for a shorter name for each term. It is just used on the form and has no direct visibility to the user. It is nice to have application control names under 50 characters though.
After all the prefixes are replace the system adds all the new controls to the form. Press the refresh button to update the form display
Finally we need to fix up the labels. We select each label control in the list (they end in label) and using the control key use that to select them all.
Press the command button and enter the following script:
control.setLabel(control.getApplicationControlName().replace("label", ":"));
Click OK and this form is now finished - click OK and we will complete the rest.
Here is a video on the process









