1. A formlet generation system comprising: a clinical element query compiler to receive one or more query criterion and to generate a query result; and a clinical element transform compiler to generate a transform to be applied to the query result, wherein the transform is to be applied to the query result to generate a formlet for a clinical application.