<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_INSTRUMENTAL_RESEARCH_DOCUMENT" 
Description="Инструментальное исследование в формате CDA" 
PrimaryKey="CdaInstrumentalResearchDocumentID">
  <Fields>
    <Parent Name="DiagnosticsResults" Type="AKUZ.DIAGNOSTICS_RESULTS" Description="Результаты исследования" Required="1" />
    <Link Name="CdaSectionInstrumentalResearchDocinfo" Type="AKUZ.CDA_SECTION_INSTRUMENTAL_RESEARCH_DOCINFO" Description="Общие сведения о документе" LinkAttribute="CdaInstrumentalResearchDocument" />
    <Link Name="CdaSectionResinfoResearch" Type="AKUZ.CDA_SECTION_RESINFO_RESEARCH" Description="Секция заключения протокола инструментального исследования" LinkAttribute="CdaInstrumentalResearchDocument" />
    <Link Name="CdaSectionServices" Type="AKUZ.CDA_SECTION_SERVICES" Description="Медицинские услуги" LinkAttribute="CdaInstrumentalResearchDocument" />
    <Attribute Name="CdaInstrumentalResearchDocumentID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_INSTRUMENTAL_RESEARCH_DOCUMENT" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_INSTRUMENTAL_RESEARCH">
      <Map Name="DiagnosticsResults" Column="DiagnosticsResults" />
	  <Map Name="CdaInstrumentalResearchDocumentID" Column="CdaInstrumentalResearchDocumentID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>