See: PH42 in search Issue with changes to publishing code, differences between publish_status and clinicalcode_publishedgenericentity