REPORT-535: VitalStatusDataEvaluator throws exception when Person.causeOfDeath is non-null
Added unit test case for REPORT-535
added a new patient data definition and a corresponding evaluator. ( ScriptedCompositionPatientDataDefinition and ScriptedCompositionPatientDataDefinitionEvaluator)
added a controller and a mapping handler for ScriptedCompositionPatientDataDefinition and a widget handler for PatientDataDefintion
added one groovy based test case for ScriptedCompositionPatientDataDefinitionEvaluator
added a page to edit/create a scripted patient data definition
https://tickets.openmrs.org/browse/REPORT-542
removed @Caching annotion on ScriptedCompositionPatientDataDefinition
moved initialization of the containedDataDefinitions HashMap into the getter, in order to keep the getter null-safe
removed unnecessary lines and changed evaluatedContainedDataDefinitions tye from List to Map so that we can retrieve the appropriate data by key
moved else statement on new line
removed code that was saving PersonToPatientDataDefinition since this should not be saved explicitly in the database
added a demo on how to handle mapped PersonDataDefinition to ScriptedCompositionPatientDataDefinition containedDataDefinitions
added TODO comment
removed hard-coded script type options
made some refactoring in ScriptedCompositionPatientDataDefinitionEvaluator
added code to handle saving clone definition
adding check for containedDataDefintions size
modified the select tag
modified groovy based test resource file