minor bugfix
[OE-2889] added substitution strings for episode consultant and episode service.
Refactored DropDownTextSelection to allow htmlOptions['options']
passthrough
Added descendents method to ElementType
Check for event before getChildren
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OpenEyes into release/1.3-moorfields
Trigger text macro update when adding and removing elements
+ fix to z-index for split events

Conflicts:
	css/spliteventtype.css
Optional array item
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OpenEyes into release/1.3-moorfields
Surgeons call should be static
Allow nullable foreign keys in drug table
[OE-2674] bugfix: there was an inherent assumption in the patient model that every disorder has a specialty.
[OE-2891] Temporary fix for currently unsupported ward mapping
[OE-2891] Reverse logic for CR9
Merge branch 'release/1.2-moorfields' into release/1.3-moorfields

Conflicts:
	protected/models/elements/ElementOperation.php
[OE-2892] Reinstate cancel button
Fix broken cancel url for patients with no episodes
changed char to varchar for menachem
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OpenEyes into release/1.3-moorfields
[OE-2740] bugfix: total duration was being calculated incorrectly after the booking create form was posted with errors.
Remove obsolete relation