<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="MEDICAL_SERVICE_GROUP" 
Description="Группа исследований" 
PrimaryKey="MedicalServiceGroupID" 
DNAttributes="{GroupCode};{GroupName}" 
DisplayName="{0}.{1}">
  <Fields>
    <Attribute Name="MedicalServiceGroupID" Type="guid" Description="Идентификатор" />
    <Attribute Name="GroupName" Type="string" Description="Наименование группы" Required="1" />
    <Attribute Name="GroupDescription" Type="string" Description="Описание группы" CharacterMaximumLength="1024" />
    <Attribute Name="GroupCode" Type="string" Description="Код группы" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_MEDICAL_SERVICE_GROUP">
      <Map Name="MedicalServiceGroupID" Column="MedicalServiceGroupID" />
      <Map Name="GroupName" Column="GroupName" />
      <Map Name="GroupDescription" Column="GroupDescription" />
      <Map Name="GroupCode" Column="GroupCode" />
    </Table>
  </DbMapping>
</Entity>