<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_DOCUMENT_COUPON_SPACARD" 
Description="Обратный талон санаторно-курортной карты" 
PrimaryKey="CdaDocumentCouponSpacardID">
  <Fields>
    <Link Name="CdaSectionDocinfoCouponSpacard" Type="AKUZ.CDA_SECTION_DOCINFO_COUPON_SPACARD" Description="Сведения о документе" LinkAttribute="CdaDocumentCouponSpacard" Required="1" />
    <Link Name="CdaSectionDgnDiagnosis" Type="AKUZ.CDA_SECTION_DGN_DIAGNOSIS" Description="Диагнозы" LinkAttribute="CdaDocumentCouponSpacard" Required="1" />
    <Link Name="CdaSectionTreatmentInfo" Type="AKUZ.CDA_SECTION_TREATMENT_INFO" Description="Информация о лечении" LinkAttribute="CdaDocumentCouponSpacard" Required="1" />
    <Link Name="CdaSectionTreatmentRecommend" Type="AKUZ.CDA_SECTION_TREATMENT_RECOMMEND" Description="Рекомендованное лечение" LinkAttribute="CdaDocumentCouponSpacard" Required="1" />
    <Attribute Name="CdaDocumentCouponSpacardID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_DOCUMENT_COUPON_SPACARD" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_DOCUMENT_COUPON_SPACARD">
      <Map Name="CdaDocumentCouponSpacardID" Column="CdaDocumentCouponSpacardID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>