A hierarchical optimisation framework for pigmented lesion diagnosis. Issue 1 (3rd January 2022)