Incorporating Expert Opinion on Observable Quantities into Statistical Models -- A General Framework