Re-order Patient Detail fields

Refactor the generic patient template to provide a schema list that
determines the order of fields. refs #112