+ added the the getOrderedDisorders API method

Conflicts:
	components/OphCiExamination_API.php
added missing event_id foreign key
Fixed error in Diagnosis element on trying to get patient_id
Change of scale
[OE-2621] show cct and iop in the episode summary
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OphCiExamination into release/1.3-moorfields

Conflicts:
	components/OphCiExamination_API.php
Refactored attributes to allow better child inheritance and filtering
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OphCiExamination into release/1.3-moorfields
Missed new files
Filter text macros depending upon which elements are active
Disable empty text dropdowns
+ fix filename for comorbidities printing OE-2895
[OE-2706] api methods to support correspondence findings dropdown
[OE-2706] fixed management letter string pullthroughs
[OE-2580] Implemented Relative Afferent Pupillary Defect element
Ensure CD Ratio has default
[OE-2920] Fixed sort/dedupe problems on workflow step
Fixed setting default options on workflow step elements
+ fix to API to require passing of episode to methods OE-2921
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OphCiExamination into release/1.3-moorfields