<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_TELECONSULTATION" 
Description="Телеконсультация в формате CDA" 
PrimaryKey="CdaTeleconsultationID">
  <Fields>
    <Parent Name="MedicalExamination" Type="AKUZ.MEDICAL_EXAMINATION" Description="Медицинский осмотр" Required="1" />
    <Link Name="CdaSectionDocinfoTele" Type="AKUZ.CDA_SECTION_DOCINFO_TELE" Description="Сведения о документе" LinkAttribute="CdaTeleconsultation" />
    <Link Name="CdaSectionAmbs" Type="AKUZ.CDA_SECTION_AMBS" Description="Описание случая телеконсультации" LinkAttribute="CdaTeleconsultation" />
    <Link Name="CdaSectionVitalparam" Type="AKUZ.CDA_SECTION_VITALPARAM" Description="Витальные параметры" LinkAttribute="CdaTeleconsultation" />
    <Link Name="CdaSectionResinfoTele" Type="AKUZ.CDA_SECTION_RESINFO_TELE" Description="Заключение" LinkAttribute="CdaTeleconsultation" />
    <Link Name="CdaSectionProcedure" Type="AKUZ.CDA_SECTION_PROCEDURE" Description="Медицинские процедуры" LinkAttribute="CdaTeleconsultation" />
    <Attribute Name="CdaTeleconsultationID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_TELECONSULTATION" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_TELECONSULTATION">
      <Map Name="MedicalExamination" Column="MedicalExamination" />
      <Map Name="CdaTeleconsultationID" Column="CdaTeleconsultationID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>