Update schema and template generation for complex observations -FORM-144

https://tickets.openmrs.org/browse/FORM-144