<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="VIMIS_HOSPITAL_EPICRISIS" 
Description="Эпикриз стационара в формате ВИМИС" 
PrimaryKey="VimisHospitalEpicrisisID">
  <Fields>
    <Parent Name="EmergencyEvent" Type="AKUZ.EMERGENCY_EVENT" Description="Случай госпитализации" Required="1" />
    <Parent Name="EhrRusNfmgdj6v36" Type="EHR.EHR_RUS_NFMGDJ6V36" Description="Исходы случаев госпитализации" Required="1" />
    <Link Name="CdaSectionHosp" Type="AKUZ.CDA_SECTION_HOSP" Description="Общие данные о госпитализации" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="VimisSectionDgn" Type="AKUZ.VIMIS_SECTION_DGN" Description="Сведения о диагнозах" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionSocanam" Type="AKUZ.CDA_SECTION_SOCANAM" Description="Анамнез" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionStateadm" Type="AKUZ.CDA_SECTION_STATEADM" Description="Состояние при поступлении" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionStateadmStatedis" Type="AKUZ.CDA_SECTION_STATEADM_STATEDIS" Description="Состояние при выписке" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionAll" Type="AKUZ.CDA_SECTION_ALL" Description="Патологические реакции" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionVitalparam" Type="AKUZ.CDA_SECTION_VITALPARAM" Description="Витальные параметры" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaOnkoSectionProc" Type="AKUZ.CDA_ONKO_SECTION_PROC" Description="Диагностические исследования и консультации" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionImm" Type="AKUZ.CDA_SECTION_IMM" Description="Вакцинация и иммунизация" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionSum" Type="AKUZ.CDA_SECTION_SUM" Description="Проведенное лечение" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionOperation" Type="AKUZ.CDA_SECTION_OPERATION" Description="Операции" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionProcedure" Type="AKUZ.CDA_SECTION_PROCEDURE" Description="Медицинские процедуры" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionRegime" Type="AKUZ.CDA_SECTION_REGIME" Description="Рекомендации" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionServices" Type="AKUZ.CDA_SECTION_SERVICES" Description="Медицинские услуги" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="VimisSectionEpicrisisDepartments" Type="AKUZ.VIMIS_SECTION_EPICRISIS_DEPARTMENTS" Description="Перемещения пациента в медицинской организации в рамках текущей госпитализации" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionScoresEpicris" Type="AKUZ.CDA_SECTION_SCORES_EPICRIS" Description="Объективизированная оценка состояния больного" LinkAttribute="VimisHospitalEpicrisis" />
    <Link Name="CdaSectionLinkdocs" Type="AKUZ.CDA_SECTION_LINKDOCS_EPICRIS" Description="Связанные документы" LinkAttribute="VimisHospitalEpicrisis" />
    <Attribute Name="VimisHospitalEpicrisisID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_VIMIS_HOSPITAL_EPICRISIS" Description="Медицинская документация" />
    <Child Name="CdaDiagnosiss" Type="AKUZ.CDA_DIAGNOSIS" Description="Сведения о диагнозе в формате CDA" ChildAttribute="VimisHospitalEpicrisis" />
    <Link Name="VimisSectionMedicalCardHospEp" Type="AKUZ.VIMIS_SECTION_MEDICAL_CARD_HOSP_EP" Description="Данные о медицинских картах пациента" LinkAttribute="VimisHospitalEpicrisis" />
  </Fields>
  <DbMapping>
    <Table name="T_VIMIS_HOSPITAL_EPICRISIS">
      <Map Name="EmergencyEvent" Column="EmergencyEvent" />
      <Map Name="EhrRusNfmgdj6v36" Column="EhrRusNfmgdj6v36" />
      <Map Name="VimisHospitalEpicrisisID" Column="VimisHospitalEpicrisisID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>