IF NOT EXISTS (SELECT * FROM SYSOBJECTS
              WHERE  SYSOBJECTS.name = 'HYYBBYS_MANUEL_GIRIS_DETAY')



CREATE TABLE [dbo].[HYYBBYS_MANUEL_GIRIS_DETAY](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[HYYBBYSID] [int] NOT NULL,
	[HYATISID] [int] NULL,
	[HastaId] [int] NULL,
	[FullName] [varchar](151) NULL,
	[HbysDosyaId] [nvarchar](100) NULL,
	[VisitId] [nvarchar](100) NULL,
	[KimlikEntegreReferansKodu] [varchar](50) NULL,
	[BedName] [varchar](50) NULL,
	[ZoneName] [nvarchar](500) NULL,
	[Tarih] [date] NULL,
	[Saat] [time](2) NULL,
	[KayitTarihi] [date] NULL,
	[KayitSaati] [time](2) NULL,
	[ManuelMi] [int] NULL,
	[ABPMean] [decimal](18, 1) NULL,
	[ABPdias] [decimal](18, 1) NULL,
	[ABPsys] [decimal](18, 1) NULL,
	[Diastolik] [decimal](18, 1) NULL,
	[HR] [decimal](18, 1) NULL,
	[Fio2] [decimal](18, 1) NULL,
	[SPO2] [decimal](18, 1) NULL,
	[Sistolik] [decimal](18, 1) NULL,
	[Temp] [decimal](18, 1) NULL,
	[PH] [decimal](18, 1) NULL,
	[PO2] [decimal](18, 1) NULL,
	[PCO2] [decimal](18, 1) NULL,
	[HCO3] [decimal](18, 1) NULL,
	[CLac] [decimal](18, 1) NULL,
	[CGlu] [decimal](18, 1) NULL,
	[TVe] [decimal](18, 1) NULL,
	[RR] [decimal](18, 1) NULL,
	[PEEP] [decimal](18, 1) NULL,
	[VentilatorModu] [decimal](18, 1) NULL,
	[Ptepe] [decimal](18, 1) NULL,
	[SPID] [int] NULL,
	[KYTKULLANICI] [nvarchar](50) NULL,
	[KYTTARIHI] [datetime] NULL,
	[SGKULLANICI] [nvarchar](50) NULL,
	[SGTARIHI] [datetime] NULL,
 CONSTRAINT [PK_HYYBBYS_MANUEL_GIRIS_DETAY] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
) ON [PRIMARY]
GO




