if not Exists(SELECT * FROM information_schema.tables where Table_name = 'PrescriptionPeopleInfo')
begin
create table PrescriptionPeopleInfo
(
	ID	int primary key,
	Taf_ID	bigint references tafsili (id) not null,
	ChildCount	int not null, -- تعداد فرزند
	DependantCount	int not null, -- تعداد افراد تحت تکفل
	AccountNumber	nvarchar(100), -- شماره حساب بانکی
	CardNumber	nvarchar(100),
	ShebaNumber	nvarchar(100),
	InsuranceNumber	nvarchar(100), -- شماره بیمه
	Religion	nvarchar(100), -- مذهب
	
	Pro_ID_MilitaryOrganization	int references OtherProperties(id) not null, -- انواع ارگانهای نظام وظیفه => ارتش - سپاه - بسیج - نیروی انتظامی - نیروی دریایی
	Pro_ID_MilitaryCategory	int references OtherProperties(id) not null, --
	Pro_ID_MilitaryDegree	int references OtherProperties(id) not null, --
	Pro_ID_DegreeEducation	int references OtherProperties(id) not null, --
	Pro_ID_EducationalField	int references OtherProperties(id) not null, --
	Pro_ID_UniversityType	int references OtherProperties(id) not null, --
	Pro_ID_PhysicalStatus	int references OtherProperties(id) not null, --
	Pro_ID_ReligionType	int references OtherProperties(id) not null, --
	Pro_ID_EmploymentType	int references OtherProperties(id) not null, --
	
	Description	nvarchar(1000),
	Kar_ID_Creator	int References Karbar(ID) not null,
	TarikhSabt	int not null,
	SaatSabt	int not null
)
end