<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_MATERINITY_EPICRIS" 
Description="Эпикриз выписки из родильного дома" 
PrimaryKey="CdaMaterinityEpicrisID">
  <Fields>
    <Parent Name="EmergencyEvent" Type="AKUZ.EMERGENCY_EVENT" Description="Случай госпитализации" />
    <Parent Name="EhrRusNfmgdj6v36" Type="EHR.EHR_RUS_NFMGDJ6V36" Description="Исходы случаев госпитализации" />
    <Link Name="CdaSectionHosp" Type="AKUZ.CDA_SECTION_HOSP" Description="Общие данные о госпитализации" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionSocanam" Type="AKUZ.CDA_SECTION_SOCANAM" Description="Анамнез" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionStateadm" Type="AKUZ.CDA_SECTION_STATEADM" Description="Состояние при поступлении" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionStateadmStatedis" Type="AKUZ.CDA_SECTION_STATEADM_STATEDIS" Description="Состояние при выписке" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionAll" Type="AKUZ.CDA_SECTION_ALL" Description="Патологические реакции" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionVitalparam" Type="AKUZ.CDA_SECTION_VITALPARAM" Description="Витальные параметры" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionProc" Type="AKUZ.CDA_SECTION_PROC" Description="Диагностические исследования" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionImm" Type="AKUZ.CDA_SECTION_IMM" Description="Вакцинация и иммунизация" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionSum" Type="AKUZ.CDA_SECTION_SUM" Description="Проведенное лечение" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionOperation" Type="AKUZ.CDA_SECTION_OPERATION" Description="Операции" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionProcedure" Type="AKUZ.CDA_SECTION_PROCEDURE" Description="Медицинские процедуры" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionRegime" Type="AKUZ.CDA_SECTION_REGIME" Description="Рекомендации" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionServices" Type="AKUZ.CDA_SECTION_SERVICES" Description="Медицинские услуги" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionLabodeliMaternityEpicrisis" Type="AKUZ.CDA_SECTION_LABODELI_MATERNITY_EPICRISIS" Description="Беременность и роды выписного эпикриза новорожденного" LinkAttribute="CdaMaterinityEpicris" />
    <Link Name="CdaSectionScoresLabodeliAkeneo" Type="AKUZ.CDA_SECTION_SCORES_LABODELI_AKENEO" Description="Объективизированная оценка состояния" LinkAttribute="CdaMaterinityEpicris" />
    <Attribute Name="CdaMaterinityEpicrisID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_MATERINITY_EPICRIS" Description="Медицинская документация" />
    <Child Name="CdaDiagnosiss" Type="AKUZ.CDA_DIAGNOSIS" Description="Сведения о диагнозе в формате CDA" ChildAttribute="CdaMaterinityEpicris" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_MATERINITY_EPICRIS">
      <Map Name="EmergencyEvent" Column="EmergencyEvent" />
      <Map Name="EhrRusNfmgdj6v36" Column="EhrRusNfmgdj6v36" />
      <Map Name="CdaMaterinityEpicrisID" Column="CdaMaterinityEpicrisID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>