<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="LABOR_WOMAN_STATE_MONITORING" 
Description="Мониторинг состояния роженицы в течение двух часов" 
PrimaryKey="LaborWomanStateMonitoringID">
  <Fields>
    <Attribute Name="LaborWomanStateMonitoringID" Type="guid" Description="Идентификатор" />
    <Choice Name="TotalBloodLoss" Description="Общая кровопотеря">
      <Item Name="&lt; 500 мл." Index="0" />
      <Item Name="500 - 999 мл." Index="1" />
      <Item Name="&gt; 1000 мл." Index="2" />
    </Choice>
    <Attribute Name="GeneralBloodCirculation" Type="int" Description="% ОЦК" />
    <Parent Name="Post" Type="AKUZ.POST" Description="Врач-акушер-гинеколог" />
    <Parent Name="Nurse" Type="AKUZ.POST" Description="Акушерка" />
    <Child Name="LaborWomanStateMonitoringItems" Type="AKUZ.LABOR_WOMAN_STATE_MONITORING_ITEM" Description="Оценка состояния роженицы" ChildAttribute="LaborWomanStateMonitoring" />
    <Parent Name="ChildbirthOperation" Type="AKUZ.CHILDBIRTH_OPERATION" Description="Родоразрешение" />
  </Fields>
  <DbMapping>
    <Table name="T_LABOR_WOMAN_STATE_MONITORING">
      <Map Name="LaborWomanStateMonitoringID" Column="LaborWomanStateMonitoringID" />
      <Map Name="TotalBloodLoss" Column="TotalBloodLoss" />
      <Map Name="GeneralBloodCirculation" Column="GeneralBloodCirculation" />
      <Map Name="Post" Column="Post" />
      <Map Name="Nurse" Column="Nurse" />
      <Map Name="ChildbirthOperation" Column="ChildbirthOperation" />
    </Table>
  </DbMapping>
</Entity>