{
  "entity" : "HMSRoomClassification",
  "table" : "HMSRoomClassification",
  "module" : "hms",
  "ar" : "تصنيف غرفة",
  "arPlural" : "تصنيفات الغرف",
  "en" : "Room Classification",
  "enPlural" : "Room Classifications",
  "page" : "https://dm.namasoft.com/modules/hms/HMSRoomClassification.html",
  "fields" : [ {
    "id" : "accommodationPrice",
    "column" : "accommodationPrice",
    "ar" : "سعر الإقامة",
    "en" : "Accommodation Price",
    "type" : "Decimal"
  }, {
    "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" : "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" : "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" : "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" : "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" : "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" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "indexInParent",
    "column" : "indexInParent",
    "type" : "Integer"
  }, {
    "id" : "lastChangeVersion",
    "column" : "lastChangeVersion",
    "type" : "Integer"
  }, {
    "id" : "lastModifyTransactionId",
    "column" : "LastModifyTransactionId",
    "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" : "medicalPrice",
    "column" : "medicalPrice",
    "ar" : "سعر الإشراف الطبي",
    "en" : "Medical Supervision Price",
    "type" : "Decimal"
  }, {
    "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" : "parentCode",
    "column" : "parentCode",
    "type" : "Text"
  }, {
    "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" : "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" : "roomDegree",
    "column" : "roomDegree_id",
    "ar" : "درجة الغرفة",
    "en" : "Room Degree",
    "type" : "Reference",
    "refTo" : "HMSRoomDegree",
    "refPath" : "/modules/hms/HMSRoomDegree.html"
  }, {
    "id" : "roomType",
    "column" : "roomType",
    "ar" : "نوع الغرفة",
    "en" : "Room Type",
    "type" : "Enum",
    "enum" : "HMSRoomType"
  }, {
    "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" : "systemGeneratedCodePrefix",
    "column" : "systemGeneratedCodePrefix",
    "ar" : "System Generated Code Prefix",
    "en" : "System Generated Code Prefix",
    "type" : "Text"
  }, {
    "id" : "taxPlan",
    "column" : "taxPlan_id",
    "ar" : " سياسة الضريبة",
    "en" : " Tax Plan",
    "type" : "Reference",
    "refTo" : "TaxPlan",
    "refPath" : "/modules/basic/TaxPlan.html"
  }, {
    "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"
  } ],
  "details" : [ {
    "id" : "roomClassPriceLines",
    "table" : "HMSRoomClassPriceLine",
    "joinColumn" : "hMSRoomClassification_id",
    "ar" : "أسعار نوع تصنيف الغرفة في القوائم",
    "en" : "Room Class Price in Lists",
    "fields" : [ {
      "id" : "roomClassPriceLines.addToPriceList",
      "column" : "addToPriceList_id",
      "ar" : "إضافة الي قائمة أسعار",
      "en" : "Add To Sales Price List",
      "type" : "Reference",
      "refTo" : "HMSSalesPriceList",
      "refPath" : "/modules/hms/HMSSalesPriceList.html"
    }, {
      "id" : "roomClassPriceLines.companyEndurancePercent",
      "column" : "companyEndurancePercent",
      "ar" : "نسبة تحمل الشركة",
      "en" : "Company Endurance Percent",
      "type" : "Decimal"
    }, {
      "id" : "roomClassPriceLines.hmsDocCategory",
      "column" : "hmsDocCategory_id",
      "ar" : "تصنيف طبى للمستند",
      "en" : "Medical Document Category",
      "type" : "Reference",
      "refTo" : "HMSDocumentCategory",
      "refPath" : "/modules/hms/HMSDocumentCategory.html"
    }, {
      "id" : "roomClassPriceLines.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "roomClassPriceLines.insuranceClass",
      "column" : "insuranceClass_id",
      "ar" : "فئة التأمين",
      "en" : "Insurance Class",
      "type" : "Reference",
      "refTo" : "HMSInsuranceClass",
      "refPath" : "/modules/hms/HMSInsuranceClass.html"
    }, {
      "id" : "roomClassPriceLines.insuranceCompanyClass",
      "column" : "insuranceCompanyClass_id",
      "ar" : "فئة شركة تأمين طبى",
      "en" : "Medical Insurance Company Class",
      "type" : "Reference",
      "refTo" : "HMSInsuranceCompanyClass",
      "refPath" : "/modules/hms/HMSInsuranceCompanyClass.html"
    }, {
      "id" : "roomClassPriceLines.insuranceMaxValFromAdmission",
      "column" : "insuranceMaxValFromAdmission",
      "ar" : "أقصى قيمة للتأمين من سند إستمارة الدخول",
      "en" : "Insurance Max Value From Admission",
      "type" : "Decimal"
    }, {
      "id" : "roomClassPriceLines.insuranceMaxValFromApproval",
      "column" : "insuranceMaxValFromApproval",
      "ar" : "أقصى قيمة للتأمين من سند الموافقة",
      "en" : "Insurance Max Value From Approval",
      "type" : "Decimal"
    }, {
      "id" : "roomClassPriceLines.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "roomClassPriceLines.medicalInsuranceCompany",
      "column" : "medicalInsuranceCompany_id",
      "ar" : "شركة التأمين الطبى",
      "en" : "Medical Insurance Company",
      "type" : "Reference",
      "refTo" : "HMSInsuranceCompany",
      "refPath" : "/modules/hms/HMSInsuranceCompany.html"
    }, {
      "id" : "roomClassPriceLines.patient",
      "column" : "patient_id",
      "ar" : "المريض",
      "en" : "Patient",
      "type" : "Reference",
      "refTo" : "HMSPatient",
      "refPath" : "/modules/hms/HMSPatient.html"
    }, {
      "id" : "roomClassPriceLines.patientAdmission",
      "column" : "patientAdmission_id",
      "ar" : "إستمارة دخول المريض",
      "en" : "Patient Admission",
      "type" : "Reference",
      "refTo" : "HMSPatientAdmission",
      "refPath" : "/modules/hms/HMSPatientAdmission.html"
    }, {
      "id" : "roomClassPriceLines.patientClass",
      "column" : "patientClass_id",
      "ar" : "فئة المريض",
      "en" : "Patient Classification",
      "type" : "Reference",
      "refTo" : "HMSPatientClass",
      "refPath" : "/modules/hms/HMSPatientClass.html"
    }, {
      "id" : "roomClassPriceLines.patientEndurancePercent",
      "column" : "patientEndurancePercent",
      "ar" : "نسبة تحمل المريض",
      "en" : "Patient Endurance Percent",
      "type" : "Decimal"
    }, {
      "id" : "roomClassPriceLines.price",
      "column" : "price",
      "ar" : "السعر",
      "en" : "Price",
      "type" : "Decimal"
    }, {
      "id" : "roomClassPriceLines.priceClassifier1",
      "column" : "priceClassifier1_id",
      "ar" : "محدد سعر 1",
      "en" : "Price Classifier 1",
      "type" : "Reference",
      "refTo" : "SalesPriceClassifier1",
      "refPath" : "/modules/basic/SalesPriceClassifier1.html"
    }, {
      "id" : "roomClassPriceLines.priceClassifier2",
      "column" : "priceClassifier2_id",
      "ar" : "محدد سعر 2",
      "en" : "Price Classifier 2",
      "type" : "Reference",
      "refTo" : "SalesPriceClassifier2",
      "refPath" : "/modules/basic/SalesPriceClassifier2.html"
    }, {
      "id" : "roomClassPriceLines.priceClassifier3",
      "column" : "priceClassifier3_id",
      "ar" : "محدد سعر 3",
      "en" : "Price Classifier 3",
      "type" : "Reference",
      "refTo" : "SalesPriceClassifier3",
      "refPath" : "/modules/basic/SalesPriceClassifier3.html"
    }, {
      "id" : "roomClassPriceLines.priceClassifier4",
      "column" : "priceClassifier4_id",
      "ar" : "محدد سعر 4",
      "en" : "Price Classifier 4",
      "type" : "Reference",
      "refTo" : "SalesPriceClassifier4",
      "refPath" : "/modules/basic/SalesPriceClassifier4.html"
    }, {
      "id" : "roomClassPriceLines.priceClassifier5",
      "column" : "priceClassifier5_id",
      "ar" : "محدد سعر 5",
      "en" : "Price Classifier 5",
      "type" : "Reference",
      "refTo" : "SalesPriceClassifier5",
      "refPath" : "/modules/basic/SalesPriceClassifier5.html"
    }, {
      "id" : "roomClassPriceLines.pricingData.room",
      "column" : "room_id",
      "ar" : "الغرفة",
      "en" : "Room",
      "type" : "Reference",
      "refTo" : "HMSRoom",
      "refPath" : "/modules/hms/HMSRoom.html"
    }, {
      "id" : "roomClassPriceLines.pricingData.roomClassification",
      "column" : "roomClassification_id",
      "ar" : "تصنيف الغرفة",
      "en" : "Room Classification",
      "type" : "Reference",
      "refTo" : "HMSRoomClassification",
      "refPath" : "/modules/hms/HMSRoomClassification.html"
    }, {
      "id" : "roomClassPriceLines.priority",
      "column" : "priority",
      "ar" : "الأولوية",
      "en" : "Priority",
      "type" : "Long"
    }, {
      "id" : "roomClassPriceLines.subsidiary",
      "columns" : [ "subsidiaryActualCode", " subsidiaryCode", " subsidiaryEntityType", " subsidiaryId" ],
      "ar" : "الذمة",
      "en" : "Subsidiary",
      "type" : "Genericreference"
    }, {
      "id" : "roomClassPriceLines.surgeryClassification",
      "column" : "surgeryClassification_id",
      "ar" : "تصنيف العملية",
      "en" : "Surgery Classification",
      "type" : "Reference",
      "refTo" : "HMSSurgeryClassification",
      "refPath" : "/modules/hms/HMSSurgeryClassification.html"
    }, {
      "id" : "roomClassPriceLines.validFrom",
      "column" : "validFrom",
      "ar" : "صالح من",
      "en" : "Valid from",
      "type" : "Date"
    }, {
      "id" : "roomClassPriceLines.validTo",
      "column" : "validTo",
      "ar" : "صالح حتي",
      "en" : "Valid to",
      "type" : "Date"
    } ]
  } ]
}