Added parameters to the htmlform tag -- form.version, form.uuid, form.name, and encounter_type.uuid.