<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_IDENTIFICATION_DOCUMENT_ROUTTODIAG" 
Description="Документ, удостоверяющий личность" 
PrimaryKey="CdaIdentificationDocumentRouttodiagID">
  <Fields>
    <Attribute Name="CdaIdentificationDocumentRouttodiagID" Type="guid" Description="Идентификатор" />
    <Parent Name="EhrRusNn5meatu5t" Type="EHR.EHR_RUS_NN5MEATU5T" Description="Документы, удостоверяющие личность" Required="1" />
    <Attribute Name="Series" Type="string" Description="Серия" Required="1" />
    <Attribute Name="Number" Type="string" Description="Номер" Required="1" />
    <Attribute Name="IssueDate" Type="datetime" Description="Дата выдачи" Required="1" />
    <Attribute Name="IssueOrgName" Type="string" Description="Кем выдан документ удостоверяющий личность" CharacterMaximumLength="512" Required="1" />
    <Attribute Name="IssueOrgCode" Type="int" Description="Код подразделения" Required="1" />
    <Parent Name="CdaRepresentativeRouttodiag" Type="AKUZ.CDA_REPRESENTATIVE_ROUTTODIAG" Description="Сведения о законном (уполномоченном) представителе пациента" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_IDENTIFICATION_DOCUMENT_ROUTTODIAG">
      <Map Name="CdaIdentificationDocumentRouttodiagID" Column="CdaIdentificationDocumentRouttodiagID" />
      <Map Name="EhrRusNn5meatu5t" Column="EhrRusNn5meatu5t" />
      <Map Name="Series" Column="Series" />
      <Map Name="Number" Column="Number" />
      <Map Name="IssueDate" Column="IssueDate" />
      <Map Name="IssueOrgName" Column="IssueOrgName" />
      <Map Name="IssueOrgCode" Column="IssueOrgCode" />
      <Map Name="CdaRepresentativeRouttodiag" Column="CdaRepresentativeRouttodiag" />
    </Table>
  </DbMapping>
</Entity>