if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PISLoadPrescription]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PISLoadPrescription]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PISCheckPrescription]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PISCheckPrescription]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PISGetPyramidPrescription]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[PISGetPyramidPrescription]

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spGetUpdateableDrug]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spGetUpdateableDrug]



