In preparing the Code of Practice the Scottish Ministers must consult persons who appear to them to represent the interests of hospices and providers of palliative and end of life care and such other persons as they consider appropriate and must publish the Code of Practice.