The DROP procedure statement refers to a different procedure:
DROP PROCEDURE [dbo].[NIC_OA_GetPatientXRayReportsOut]
create PROCEDURE [dbo].[NIC_OA_GetPhysicianXRayReportsOut]
One is PatientXray, the other is PhysicianXray, change DROP statement to:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[NIC_OA_GetPhysicianXRayReportsOut]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[NIC_OA_GetPhysicianXRayReportsOut]
GO