{
  "entity" : "HMSPatient",
  "table" : "HMSPatient",
  "module" : "hms",
  "ar" : "مريض",
  "arPlural" : "المرضى",
  "en" : "Patient",
  "enPlural" : "Patients",
  "page" : "https://dm.namasoft.com/modules/hms/HMSPatient.html",
  "fields" : [ {
    "id" : "accomData.bed",
    "column" : "bed_id",
    "ar" : " سرير إسكان",
    "en" : " HO Bed",
    "type" : "Reference",
    "refTo" : "HMSBed",
    "refPath" : "/modules/hms/HMSBed.html"
  }, {
    "id" : "accomData.building",
    "column" : "building_id",
    "ar" : "المبنى",
    "en" : "Building",
    "type" : "Reference",
    "refTo" : "HMSBuilding",
    "refPath" : "/modules/hms/HMSBuilding.html"
  }, {
    "id" : "accomData.floor",
    "column" : "floor_id",
    "ar" : "الطابق",
    "en" : "Floor",
    "type" : "Reference",
    "refTo" : "HMSFloor",
    "refPath" : "/modules/hms/HMSFloor.html"
  }, {
    "id" : "accomData.hmsSection",
    "column" : "hmsSection_id",
    "ar" : "القسم الطبى",
    "en" : "Section",
    "type" : "Reference",
    "refTo" : "HMSSection",
    "refPath" : "/modules/hms/HMSSection.html"
  }, {
    "id" : "accomData.room",
    "column" : "room_id",
    "ar" : "الغرفة",
    "en" : "Room",
    "type" : "Reference",
    "refTo" : "HMSRoom",
    "refPath" : "/modules/hms/HMSRoom.html"
  }, {
    "id" : "adultOrChild",
    "column" : "adultOrChild",
    "ar" : "بالغ أو طفل",
    "en" : "Adult Or Child",
    "type" : "Enum",
    "enum" : "AdultOrChild"
  }, {
    "id" : "altCode",
    "column" : "altCode",
    "ar" : "الكود الإنجليزي",
    "en" : "English Code",
    "type" : "Text"
  }, {
    "id" : "analysisSet",
    "column" : "analysisSet_id",
    "ar" : "المجموعة التحليلية",
    "en" : "Analysis set",
    "type" : "Reference",
    "refTo" : "AnalysisSet",
    "refPath" : "/modules/basic/AnalysisSet.html"
  }, {
    "id" : "analysisSetId",
    "column" : "analysisSet_id",
    "type" : "ID"
  }, {
    "id" : "attachment",
    "column" : "attachment_id",
    "ar" : "مرفق",
    "en" : "Attachment",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "birthDate",
    "column" : "birthDate",
    "ar" : "تاريخ الميلاد",
    "en" : "Birth date",
    "type" : "Date"
  }, {
    "id" : "birthPlace",
    "column" : "birthPlace_id",
    "ar" : "محل الميلاد",
    "en" : "Birth place",
    "type" : "Reference",
    "refTo" : "AddressRegion",
    "refPath" : "/modules/basic/AddressRegion.html"
  }, {
    "id" : "bloodGroup",
    "column" : "bloodGroup",
    "ar" : "فصيلة الدم",
    "en" : "Blood Group",
    "type" : "Text"
  }, {
    "id" : "branch",
    "column" : "branch_id",
    "ar" : "الفرع",
    "en" : "Branch",
    "type" : "Reference",
    "refTo" : "Branch",
    "refPath" : "/modules/basic/Branch.html"
  }, {
    "id" : "branchId",
    "column" : "branch_id",
    "ar" : "Branch ID",
    "en" : "Branch ID",
    "type" : "ID"
  }, {
    "id" : "code",
    "column" : "code",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "colorCode",
    "column" : "colorCode",
    "ar" : "كود اللون",
    "en" : "Color Code",
    "type" : "Color"
  }, {
    "id" : "commitedBefore",
    "column" : "commitedBefore",
    "ar" : "تم الحفظ مسبقا",
    "en" : "Commited Before",
    "type" : "Boolean"
  }, {
    "id" : "companyEndurancePercent",
    "column" : "companyEndurancePercent",
    "ar" : "نسبة تحمل الشركة",
    "en" : "Company Endurance Percent",
    "type" : "Decimal"
  }, {
    "id" : "contactInfo.address.address1",
    "column" : "address1",
    "ar" : "عنوان 1",
    "en" : "Address 1",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.address2",
    "column" : "address2",
    "ar" : "رقم المبني",
    "en" : "Building Number",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.area",
    "column" : "addressArea",
    "ar" : "المنطقة",
    "en" : "Area",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.buildingNumber",
    "column" : "buildingNumber",
    "ar" : "رقم المبني",
    "en" : "Building Number",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.city",
    "column" : "addressCity",
    "ar" : "المدينة",
    "en" : "City",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.country",
    "column" : "addressCountry",
    "ar" : "الدولة",
    "en" : "Country",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.countryCode",
    "column" : "countryCode",
    "ar" : "كود الدولة",
    "en" : "Country Code",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.district",
    "column" : "district",
    "ar" : "الحي",
    "en" : "District",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.landPlotNumber",
    "column" : "landPlotNumber",
    "ar" : "رقم تعريفي للأرض",
    "en" : "Land Plot Number",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.mapLocation",
    "column" : "mapLocation",
    "ar" : "الموقع على الخريطة",
    "en" : "Map Location",
    "type" : "LatLng"
  }, {
    "id" : "contactInfo.address.postalCode",
    "column" : "postalCode",
    "ar" : "الكود البريدي",
    "en" : "Postal Code",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.region",
    "column" : "region_id",
    "ar" : "موقع جغرافي",
    "en" : "Address region",
    "type" : "Reference",
    "refTo" : "AddressRegion",
    "refPath" : "/modules/basic/AddressRegion.html"
  }, {
    "id" : "contactInfo.address.state",
    "column" : "addressState",
    "ar" : "المحافظة",
    "en" : "State",
    "type" : "Text"
  }, {
    "id" : "contactInfo.address.street",
    "column" : "street",
    "ar" : " شارع",
    "en" : " Street",
    "type" : "Text"
  }, {
    "id" : "contactInfo.email",
    "column" : "email",
    "ar" : "إيميل",
    "en" : "E-mail",
    "type" : "Email"
  }, {
    "id" : "contactInfo.faxNumber",
    "column" : "faxNumber",
    "ar" : "الفاكس",
    "en" : "Fax",
    "type" : "PhoneNumber"
  }, {
    "id" : "contactInfo.mobile",
    "column" : "mobile",
    "ar" : "الموبايل",
    "en" : "Mobile",
    "type" : "PhoneNumber"
  }, {
    "id" : "contactInfo.telephone1",
    "column" : "telephone1",
    "ar" : "تليفون 1",
    "en" : "Phone 1",
    "type" : "PhoneNumber"
  }, {
    "id" : "contactInfo.telephone2",
    "column" : "telephone2",
    "ar" : "تليفون 2",
    "en" : "Phone 2",
    "type" : "PhoneNumber"
  }, {
    "id" : "contactInfo.website",
    "column" : "website",
    "ar" : "موقع الكتروني",
    "en" : "Website",
    "type" : "Text"
  }, {
    "id" : "createTransactionId",
    "column" : "createTransactionId",
    "type" : "Text"
  }, {
    "id" : "creationDate",
    "column" : "creationDate",
    "ar" : "تاريخ الإنشاء",
    "en" : "Creation Date",
    "type" : "DateAndTime"
  }, {
    "id" : "currentApprovalCase",
    "column" : "currentApprovalCase_id",
    "type" : "",
    "refTo" : "ApprovalCase",
    "refPath" : "/modules/system-tables/ApprovalCase.html"
  }, {
    "id" : "currentVersion",
    "column" : "currentVersion",
    "ar" : "النسخة الحالية",
    "en" : "Current Version",
    "type" : "Integer"
  }, {
    "id" : "customViewName",
    "column" : "customViewName",
    "type" : "Text"
  }, {
    "id" : "date1",
    "column" : "date1",
    "ar" : "تـــاريخ 1",
    "en" : "Date 1",
    "type" : "Date"
  }, {
    "id" : "date2",
    "column" : "date2",
    "ar" : "تـــاريخ 2",
    "en" : "Date 2",
    "type" : "Date"
  }, {
    "id" : "date3",
    "column" : "date3",
    "ar" : "تاريخ 3",
    "en" : "Date3",
    "type" : "Date"
  }, {
    "id" : "date4",
    "column" : "date4",
    "ar" : "تاريخ 4",
    "en" : "Date4",
    "type" : "Date"
  }, {
    "id" : "date5",
    "column" : "date5",
    "ar" : "تاريخ 5",
    "en" : "Date5",
    "type" : "Date"
  }, {
    "id" : "department",
    "column" : "department_id",
    "ar" : "الإدارة",
    "en" : "Department",
    "type" : "Reference",
    "refTo" : "Department",
    "refPath" : "/modules/basic/Department.html"
  }, {
    "id" : "departmentId",
    "column" : "department_id",
    "type" : "ID"
  }, {
    "id" : "description1",
    "column" : "description1",
    "ar" : "الوصف 1",
    "en" : "description1",
    "type" : "Text"
  }, {
    "id" : "description2",
    "column" : "description2",
    "ar" : "الوصف 2",
    "en" : "description2",
    "type" : "Text"
  }, {
    "id" : "description3",
    "column" : "description3",
    "ar" : "الوصف 3",
    "en" : "description3",
    "type" : "Text"
  }, {
    "id" : "description4",
    "column" : "description4",
    "ar" : "الوصف 4",
    "en" : "description4",
    "type" : "Text"
  }, {
    "id" : "description5",
    "column" : "description5",
    "ar" : "الوصف 5",
    "en" : "description5",
    "type" : "Text"
  }, {
    "id" : "docCategory",
    "column" : "docCategory_id",
    "ar" : " تصنيف سجل",
    "en" : " Record Category",
    "type" : "Reference",
    "refTo" : "DocCategory",
    "refPath" : "/modules/basic/DocCategory.html"
  }, {
    "id" : "doctor",
    "column" : "doctor_id",
    "ar" : "الطبيب",
    "en" : "Doctor",
    "type" : "Reference",
    "refTo" : "HMSDoctor",
    "refPath" : "/modules/hms/HMSDoctor.html"
  }, {
    "id" : "documentFileStatus",
    "column" : "documentFileStatus",
    "ar" : "حالة المستند",
    "en" : "Document File Status",
    "type" : "Enum",
    "enum" : "DocumentFileStatus"
  }, {
    "id" : "draftCreated",
    "column" : "draftCreated",
    "ar" : "تم إنشاء مسودة",
    "en" : "Draft Created",
    "type" : "Boolean"
  }, {
    "id" : "draftXML",
    "column" : "draftXML",
    "type" : "BigText"
  }, {
    "id" : "editedBy",
    "column" : "editedBy_id",
    "ar" : "بواسطة",
    "en" : "Edited By",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "entitySystemEntryId",
    "column" : "entitySystemEntry_id",
    "type" : "ID"
  }, {
    "id" : "entityType",
    "column" : "entityType",
    "ar" : "النوع",
    "en" : "Entity Type",
    "type" : "EntityType"
  }, {
    "id" : "father",
    "column" : "father_id",
    "ar" : "الأب",
    "en" : "Father",
    "type" : "Reference",
    "refTo" : "HMSPatient",
    "refPath" : "/modules/hms/HMSPatient.html"
  }, {
    "id" : "firstAuthor",
    "column" : "firstAuthor_id",
    "ar" : "منشئ السجل",
    "en" : "First Author",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "firstAuthorId",
    "column" : "firstAuthor_id",
    "type" : "ID"
  }, {
    "id" : "firstName",
    "column" : "firstName",
    "ar" : "الاسم الاول",
    "en" : "First Name",
    "type" : "Text"
  }, {
    "id" : "gender",
    "column" : "gender",
    "ar" : "النوع",
    "en" : "Gender",
    "type" : "Enum",
    "enum" : "Gender"
  }, {
    "id" : "generatedByLine",
    "column" : "generatedByLine",
    "ar" : "كود سطر الإنشاء",
    "en" : "generated By Line",
    "type" : "Text"
  }, {
    "id" : "generatedDocsCount",
    "column" : "generatedDocsCount",
    "type" : "Integer"
  }, {
    "id" : "generatedFrom",
    "columns" : [ "generatedFromActualCode", " generatedFromCode", " generatedFromEntityType", " generatedFromId" ],
    "ar" : "تم إنشاؤه من",
    "en" : "Generated From",
    "type" : "Genericreference"
  }, {
    "id" : "generationType",
    "column" : "generationType",
    "ar" : "نوع الإنشاء",
    "en" : "Generation Type",
    "type" : "Enum",
    "enum" : "GenerationType"
  }, {
    "id" : "group",
    "column" : "group_id",
    "ar" : "المجموعة",
    "en" : "Group",
    "type" : "Reference",
    "refTo" : "MasterGroup",
    "refPath" : "/modules/basic/MasterGroup.html"
  }, {
    "id" : "healthInsurance.end",
    "column" : "healthInsuranceEnd",
    "ar" : "تاريخ الأنتهاء",
    "en" : "End at",
    "type" : "Date"
  }, {
    "id" : "healthInsurance.issue",
    "column" : "healthInsuranceIssue",
    "ar" : "تاريخ الإصدار",
    "en" : "Issue",
    "type" : "Date"
  }, {
    "id" : "healthInsurance.number",
    "column" : "healthInsuranceNumber",
    "ar" : "رقم",
    "en" : "Number",
    "type" : "Text"
  }, {
    "id" : "height",
    "column" : "height",
    "ar" : "الطول",
    "en" : "Height",
    "type" : "Decimal"
  }, {
    "id" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "indexInParent",
    "column" : "indexInParent",
    "type" : "Integer"
  }, {
    "id" : "insuranceClass",
    "column" : "insuranceClass_id",
    "ar" : "فئة التأمين",
    "en" : "Insurance Class",
    "type" : "Reference",
    "refTo" : "HMSInsuranceClass",
    "refPath" : "/modules/hms/HMSInsuranceClass.html"
  }, {
    "id" : "isChild",
    "column" : "isChild",
    "ar" : "طفل",
    "en" : "Child",
    "type" : "Boolean"
  }, {
    "id" : "lastChangeVersion",
    "column" : "lastChangeVersion",
    "type" : "Integer"
  }, {
    "id" : "lastModifyTransactionId",
    "column" : "LastModifyTransactionId",
    "type" : "Text"
  }, {
    "id" : "lastName",
    "column" : "lastName",
    "ar" : "الاسم الاخير",
    "en" : "Last Name",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "id" : "legalEntity",
    "column" : "legalEntity_id",
    "ar" : "الشركة",
    "en" : "Legal Entity",
    "type" : "Reference",
    "refTo" : "LegalEntity",
    "refPath" : "/modules/basic/LegalEntity.html"
  }, {
    "id" : "legalEntityId",
    "column" : "legalEntity_id",
    "type" : "ID"
  }, {
    "id" : "lockVersion",
    "column" : "lockVersion",
    "type" : "Integer"
  }, {
    "id" : "mainFile",
    "column" : "mainFile_id",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "maritalStatus",
    "column" : "maritalStatus",
    "ar" : "الحالة الأجتماعية",
    "en" : "Martial status",
    "type" : "Enum",
    "enum" : "MaritalStatus"
  }, {
    "id" : "medicalInsuranceCompany",
    "column" : "medicalInsuranceCompany_id",
    "ar" : "شركة التأمين الطبى",
    "en" : "Medical Insurance Company",
    "type" : "Reference",
    "refTo" : "HMSInsuranceCompany",
    "refPath" : "/modules/hms/HMSInsuranceCompany.html"
  }, {
    "id" : "mother",
    "column" : "mother_id",
    "ar" : "الام",
    "en" : "Mother",
    "type" : "Reference",
    "refTo" : "HMSPatient",
    "refPath" : "/modules/hms/HMSPatient.html"
  }, {
    "id" : "n1",
    "column" : "n1",
    "ar" : "رقم 1",
    "en" : "Number 1",
    "type" : "Decimal"
  }, {
    "id" : "n2",
    "column" : "n2",
    "ar" : "رقم 2",
    "en" : "Number 2",
    "type" : "Decimal"
  }, {
    "id" : "n3",
    "column" : "n3",
    "ar" : "رقم 3",
    "en" : "Number 3",
    "type" : "Decimal"
  }, {
    "id" : "n4",
    "column" : "n4",
    "ar" : "رقم 4",
    "en" : "Number 4",
    "type" : "Decimal"
  }, {
    "id" : "n5",
    "column" : "n5",
    "ar" : "رقم 5",
    "en" : "Number 5",
    "type" : "Decimal"
  }, {
    "id" : "name1",
    "column" : "name1",
    "ar" : "الاسم العربي",
    "en" : "Name1",
    "type" : "Text"
  }, {
    "id" : "name2",
    "column" : "name2",
    "ar" : "الاسم الإنجليزي",
    "en" : "Name2",
    "type" : "Text"
  }, {
    "id" : "nationality",
    "column" : "nationality_id",
    "ar" : "الجنسية",
    "en" : "Nationality",
    "type" : "Reference",
    "refTo" : "Nationality",
    "refPath" : "/modules/basic/Nationality.html"
  }, {
    "id" : "newBorn",
    "column" : "newBorn",
    "ar" : "مولود جديد",
    "en" : "New Born",
    "type" : "Boolean"
  }, {
    "id" : "obstetrician",
    "column" : "obstetrician_id",
    "ar" : "الطبيب المولد",
    "en" : "Obstetrician",
    "type" : "Reference",
    "refTo" : "HMSDoctor",
    "refPath" : "/modules/hms/HMSDoctor.html"
  }, {
    "id" : "parentCode",
    "column" : "parentCode",
    "type" : "Text"
  }, {
    "id" : "patientClass",
    "column" : "patientClass_id",
    "ar" : "فئة المريض",
    "en" : "Patient Classification",
    "type" : "Reference",
    "refTo" : "HMSPatientClass",
    "refPath" : "/modules/hms/HMSPatientClass.html"
  }, {
    "id" : "patientEndurancePercent",
    "column" : "patientEndurancePercent",
    "ar" : "نسبة تحمل المريض",
    "en" : "Patient Endurance Percent",
    "type" : "Decimal"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "ref1",
    "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
    "ar" : "مرجع 1",
    "en" : "Reference 1",
    "type" : "Genericreference"
  }, {
    "id" : "ref2",
    "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
    "ar" : "مرجع 2",
    "en" : "Reference 2",
    "type" : "Genericreference"
  }, {
    "id" : "ref3",
    "columns" : [ "ref3ActualCode", " ref3Code", " ref3EntityType", " ref3Id" ],
    "ar" : "مرجع 3",
    "en" : "Reference 3",
    "type" : "Genericreference"
  }, {
    "id" : "ref4",
    "columns" : [ "ref4ActualCode", " ref4Code", " ref4EntityType", " ref4Id" ],
    "ar" : "مرجع 4",
    "en" : "Reference 4",
    "type" : "Genericreference"
  }, {
    "id" : "ref5",
    "columns" : [ "ref5ActualCode", " ref5Code", " ref5EntityType", " ref5Id" ],
    "ar" : "مرجع 5",
    "en" : "Reference 5",
    "type" : "Genericreference"
  }, {
    "id" : "religion",
    "column" : "religion",
    "ar" : "الديانة",
    "en" : "Religion",
    "type" : "Enum",
    "enum" : "Religion"
  }, {
    "id" : "remarks",
    "column" : "remark",
    "ar" : "ملاحظات",
    "en" : "Description",
    "type" : "BigText"
  }, {
    "id" : "reviseLevel",
    "column" : "reviseLevel",
    "ar" : "مستوى المراجعة",
    "en" : "Revise Level",
    "type" : "Enum",
    "enum" : "ReviseLevel"
  }, {
    "id" : "revised",
    "column" : "primitiveValue",
    "ar" : "تمت المراجعة",
    "en" : "Revised",
    "type" : "Boolean"
  }, {
    "id" : "revisedBy",
    "column" : "revisedBy_id",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "sector",
    "column" : "sector_id",
    "ar" : "القطاع",
    "en" : "Sector",
    "type" : "Reference",
    "refTo" : "Sector",
    "refPath" : "/modules/basic/Sector.html"
  }, {
    "id" : "sectorId",
    "column" : "sector_id",
    "type" : "ID"
  }, {
    "id" : "socialInsurance.end",
    "column" : "socialInsuranceEnd",
    "ar" : "تاريخ الأنتهاء",
    "en" : "End at",
    "type" : "Date"
  }, {
    "id" : "socialInsurance.issue",
    "column" : "socialInsuranceIssue",
    "ar" : "تاريخ الإصدار",
    "en" : "Issue",
    "type" : "Date"
  }, {
    "id" : "socialInsurance.number",
    "column" : "socialInsuranceNumber",
    "ar" : "رقم التأمين الأجتماعي",
    "en" : "Social Insurance Number",
    "type" : "Text"
  }, {
    "id" : "ssn.end",
    "column" : "ssnEnd",
    "ar" : "تاريخ الأنتهاء",
    "en" : "End at",
    "type" : "Date"
  }, {
    "id" : "ssn.issue",
    "column" : "ssnIssue",
    "ar" : "تاريخ الإصدار",
    "en" : "Issue",
    "type" : "Date"
  }, {
    "id" : "ssn.number",
    "column" : "ssnNumber",
    "ar" : "رقم",
    "en" : "Number",
    "type" : "Text"
  }, {
    "id" : "subsidiaryAccounts.account1",
    "column" : "account1_id",
    "ar" : " حساب 01",
    "en" : " Account 01",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account10",
    "column" : "account10_id",
    "ar" : " حساب 10",
    "en" : " Account 10",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account11",
    "column" : "account11_id",
    "ar" : " حساب 11",
    "en" : " Account 11",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account12",
    "column" : "account12_id",
    "ar" : " حساب 12",
    "en" : " Account 12",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account13",
    "column" : "account13_id",
    "ar" : " حساب 13",
    "en" : " Account 13",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account14",
    "column" : "account14_id",
    "ar" : " حساب 14",
    "en" : " Account 14",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account15",
    "column" : "account15_id",
    "ar" : " حساب 15",
    "en" : " Account 15",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account16",
    "column" : "account16_id",
    "ar" : " حساب 16",
    "en" : " Account 16",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account17",
    "column" : "account17_id",
    "ar" : " حساب 17",
    "en" : " Account 17",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account18",
    "column" : "account18_id",
    "ar" : " حساب 18",
    "en" : " Account 18",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account19",
    "column" : "account19_id",
    "ar" : " حساب 19",
    "en" : " Account 19",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account2",
    "column" : "account2_id",
    "ar" : " حساب 02",
    "en" : " Account 02",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account20",
    "column" : "account20_id",
    "ar" : " حساب 20",
    "en" : " Account 20",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account3",
    "column" : "account3_id",
    "ar" : " حساب 03",
    "en" : " Account 03",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account4",
    "column" : "account4_id",
    "ar" : " حساب 04",
    "en" : " Account 04",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account5",
    "column" : "account5_id",
    "ar" : " حساب 05",
    "en" : " Account 05",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account6",
    "column" : "account6_id",
    "ar" : " حساب 06",
    "en" : " Account 06",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account7",
    "column" : "account7_id",
    "ar" : " حساب 07",
    "en" : " Account 07",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account8",
    "column" : "account8_id",
    "ar" : " حساب 08",
    "en" : " Account 08",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.account9",
    "column" : "account9_id",
    "ar" : " حساب 09",
    "en" : " Account 09",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.accountsBag",
    "column" : "accountsBag_id",
    "ar" : " حقيبة حسابات",
    "en" : " Accounts Bag",
    "type" : "Reference",
    "refTo" : "AccountsBag",
    "refPath" : "/modules/basic/AccountsBag.html"
  }, {
    "id" : "subsidiaryAccounts.currency",
    "column" : "currency_id",
    "ar" : "العملة",
    "en" : "Currency",
    "type" : "Reference",
    "refTo" : "Currency",
    "refPath" : "/modules/basic/Currency.html"
  }, {
    "id" : "subsidiaryAccounts.forceNoDebtAgesTracking",
    "column" : "forceNoDebtAgesTracking",
    "ar" : "منع متابعة أعمار الديون لهذه الذمة - حتي و إن تم تفعيلها للحساب",
    "en" : "Do Not Track Debt Ages For This Subsidiary - Even if it was activated in the account",
    "type" : "Boolean"
  }, {
    "id" : "subsidiaryAccounts.mainAccount",
    "column" : "mainAccount_id",
    "ar" : " الحساب الرئيسي",
    "en" : " Main Account",
    "type" : "Reference",
    "refTo" : "Account",
    "refPath" : "/modules/accounting/Account.html"
  }, {
    "id" : "subsidiaryAccounts.parentParty",
    "columns" : [ "parentPartyActualCode", " parentPartyCode", " parentPartyEntityType", " parentPartyId" ],
    "ar" : "الجهة الأعلي (البديل المحاسبي)",
    "en" : "Parent Party (Accounting Alternative)",
    "type" : "Genericreference"
  }, {
    "id" : "subsidiaryAccounts.tax1Exempt",
    "column" : "tax1Exempt",
    "ar" : "غير خاضع لضريبة 1",
    "en" : "Tax 1 Exempt",
    "type" : "Boolean"
  }, {
    "id" : "subsidiaryAccounts.tax2Exempt",
    "column" : "tax2Exempt",
    "ar" : "غير خاضع لضريبة 2",
    "en" : "Tax 2 Exempt",
    "type" : "Boolean"
  }, {
    "id" : "subsidiaryAccounts.tax3Exempt",
    "column" : "tax3Exempt",
    "ar" : "غير خاضع لضريبة 3",
    "en" : "Tax 3 Exempt",
    "type" : "Boolean"
  }, {
    "id" : "subsidiaryAccounts.tax4Exempt",
    "column" : "tax4Exempt",
    "ar" : "غير خاضع لضريبة 4",
    "en" : "Tax 4 Exempt",
    "type" : "Boolean"
  }, {
    "id" : "systemGeneratedCodePrefix",
    "column" : "systemGeneratedCodePrefix",
    "ar" : "System Generated Code Prefix",
    "en" : "System Generated Code Prefix",
    "type" : "Text"
  }, {
    "id" : "taxInfo.commercialRegNo",
    "column" : "taxInfoCommercialRegNo",
    "ar" : "رقم السجل التجاري",
    "en" : "Commercial Registration Number",
    "type" : "Text"
  }, {
    "id" : "taxInfo.companyType",
    "column" : "taxInfoCompanyType",
    "ar" : "الكيان القانونى للشركة",
    "en" : "The legal entity of the company",
    "type" : "Enum",
    "enum" : "CompanyType"
  }, {
    "id" : "taxInfo.crNationalNumber",
    "column" : "taxInfoCrNationalNumber",
    "ar" : "الرقم الوطني الموحد",
    "en" : "Commercial Registration National Number",
    "type" : "Text"
  }, {
    "id" : "taxInfo.dealWay",
    "column" : "taxInfoDealWay",
    "ar" : "ط تعامل",
    "en" : "Deal Way",
    "type" : "Text"
  }, {
    "id" : "taxInfo.dealWayCode",
    "column" : "taxInfoDealWayCode",
    "ar" : "كود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "taxInfo.fileNo",
    "column" : "taxInfoFileNo",
    "ar" : "رقم الملف",
    "en" : "File No",
    "type" : "Text"
  }, {
    "id" : "taxInfo.idNumber",
    "column" : "taxInfoIdNumber",
    "ar" : "رقم البطاقة الشخصيه",
    "en" : "Id Number",
    "type" : "Text"
  }, {
    "id" : "taxInfo.mission",
    "column" : "taxInfoMission",
    "ar" : "المأمورية",
    "en" : "Mission",
    "type" : "Text"
  }, {
    "id" : "taxInfo.missionCode",
    "column" : "taxInfoMissionCode",
    "ar" : "كود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "taxInfo.specialNumber",
    "column" : "taxInfoSpecialNumber",
    "ar" : "الرقم المميز",
    "en" : "Special Number",
    "type" : "Text"
  }, {
    "id" : "taxInfo.supplier",
    "column" : "taxInfoSupplier",
    "ar" : "مورد",
    "en" : " Supplier",
    "type" : "Text"
  }, {
    "id" : "taxInfo.taxRegNo",
    "column" : "taxInfoTaxRegNo",
    "ar" : "رقم التسجيل الضريبى",
    "en" : "Tax Registeration NO",
    "type" : "Text"
  }, {
    "id" : "taxInfo.zatcaIdType",
    "column" : "taxInfoZatcaIdType",
    "ar" : "نوع هوية المشتري (هيئة الزكاة)",
    "en" : "ZATCA Buyer Id Type",
    "type" : "Enum",
    "enum" : "ZATCAIdType"
  }, {
    "id" : "updateCapability",
    "column" : "updateCapability_id",
    "ar" : "صلاحية التعديل",
    "en" : "Update Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "updateCapabilityId",
    "column" : "updateCapability_id",
    "type" : "ID"
  }, {
    "id" : "usageCapability",
    "column" : "usageCapability_id",
    "ar" : "صلاحية الاستخدام",
    "en" : "Usage Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "usageCapabilityId",
    "column" : "usageCapability_id",
    "type" : "ID"
  }, {
    "id" : "viewCapability",
    "column" : "viewCapability_id",
    "ar" : "صلاحية المطالعة",
    "en" : "View Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "viewCapabilityId",
    "column" : "viewCapability_id",
    "type" : "ID"
  }, {
    "id" : "weight",
    "column" : "weight",
    "ar" : "الوزن",
    "en" : "Weight",
    "type" : "Decimal"
  } ],
  "details" : [ {
    "id" : "patientHistoryDetails",
    "table" : "HMSPatientHistoryLine",
    "joinColumn" : "hMSPatient_id",
    "fields" : [ {
      "id" : "patientHistoryDetails.degree",
      "column" : "degree",
      "ar" : "درجه",
      "en" : "Degree",
      "type" : "Text"
    }, {
      "id" : "patientHistoryDetails.diagnosis",
      "column" : "diagnosis",
      "ar" : "التشخيص",
      "en" : "Diagnosis",
      "type" : "BigText"
    }, {
      "id" : "patientHistoryDetails.diagnosisDate",
      "column" : "diagnosisDate",
      "ar" : "تاريخ التشخيص",
      "en" : "Diagnosis Date",
      "type" : "Date"
    }, {
      "id" : "patientHistoryDetails.disease",
      "column" : "disease_id",
      "ar" : "المرض",
      "en" : "Disease",
      "type" : "Reference",
      "refTo" : "HMSDisease",
      "refPath" : "/modules/hms/HMSDisease.html"
    }, {
      "id" : "patientHistoryDetails.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "patientHistoryDetails.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "patientHistoryDetails.medication",
      "column" : "medication",
      "ar" : "الأدوية",
      "en" : "Medication",
      "type" : "BigText"
    }, {
      "id" : "patientHistoryDetails.remark",
      "column" : "remark",
      "ar" : "ملحوظة",
      "en" : "Remark",
      "type" : "BigText"
    } ]
  } ]
}