Class: StatementContentOfDeathMapper

Inherits:
Object
  • Object
show all
Includes:
XmlSchemaMapper
Defined in:
app/mappers/statement_content_of_death_mapper.rb

Overview

Note:

Заявление о смерти, подаваемое в электронном виде

Instance Attribute Summary collapse

Instance Attribute Details

#act_rec_birth_reqsOldActRecordRequisitesMapper

Реквизиты АЗ о рождении умершего ребенка (до 14 лет), заполняется при наличии у ребенка свидетельства о рождении minOccurs: 0, maxOccurs: 1



36
37
38
# File 'app/mappers/statement_content_of_death_mapper.rb', line 36

def act_rec_birth_reqs
  @act_rec_birth_reqs
end

#amount_childInt

Число детей, родившихся у матери умершего ребенка при последних родах (с ЕПГУ получаем id, значение id соответствует числу) minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


44
45
46
# File 'app/mappers/statement_content_of_death_mapper.rb', line 44

def amount_child
  @amount_child
end

#birth_timeTime

Время рождения (в т.ч. ребенка, умершего на 1-ой неделе жизни) minOccurs: 0, maxOccurs: 1

Returns:

  • (Time)


28
29
30
# File 'app/mappers/statement_content_of_death_mapper.rb', line 28

def birth_time
  @birth_time
end

#cause_of_deathInt

Код Смерть произошла по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


82
83
84
# File 'app/mappers/statement_content_of_death_mapper.rb', line 82

def cause_of_death
  @cause_of_death
end

#cause_of_death_stringSTRING250

Смерть произошла - строковое представление minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING250)


86
87
88
# File 'app/mappers/statement_content_of_death_mapper.rb', line 86

def cause_of_death_string
  @cause_of_death_string
end

#child_weightInt

Масса тела ребенка при рождении.

Заполняется из медицинского свидетельства о рождении - пункт 16, при мертворождении -
пункт 17 медицинского свидетельства о перинатальной смерти, указывается в граммах.

minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


58
59
60
# File 'app/mappers/statement_content_of_death_mapper.rb', line 58

def child_weight
  @child_weight
end

#connection_with_deadCONNECTIONWithDead

Отношение к умершему (справочник еЗАГС) minOccurs: 0, maxOccurs: 1

Returns:

  • (CONNECTIONWithDead)


24
25
26
# File 'app/mappers/statement_content_of_death_mapper.rb', line 24

def connection_with_dead
  @connection_with_dead
end

#death_period_road_accidentInt

Код Смерть в результате ДТП по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


90
91
92
# File 'app/mappers/statement_content_of_death_mapper.rb', line 90

def death_period_road_accident
  @death_period_road_accident
end

#death_placed_atInt

Код Смерть наступила по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


78
79
80
# File 'app/mappers/statement_content_of_death_mapper.rb', line 78

def death_placed_at
  @death_placed_at
end

#death_timeTime

Время смерти ребенка, умершего на 1-ой неделе жизни minOccurs: 0, maxOccurs: 1

Returns:

  • (Time)


32
33
34
# File 'app/mappers/statement_content_of_death_mapper.rb', line 32

def death_time
  @death_time
end

#educationInt

Код Образования по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


66
67
68
# File 'app/mappers/statement_content_of_death_mapper.rb', line 66

def education
  @education
end

#education_stringSTRING250

Образование - строковое представление minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING250)


70
71
72
# File 'app/mappers/statement_content_of_death_mapper.rb', line 70

def education_string
  @education_string
end

#group_of_causes_of_deathGroupOfCausesOfDeathMapper

Возможные причины смерти (по медицинскому свидетельству о смерти или о перинатальной смерти) minOccurs: 0, maxOccurs: 1



16
17
18
# File 'app/mappers/statement_content_of_death_mapper.rb', line 16

def group_of_causes_of_death
  @group_of_causes_of_death
end

#is_parietal_deathBoolean

Признак перинатальной смерти субъекта заявления minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


20
21
22
# File 'app/mappers/statement_content_of_death_mapper.rb', line 20

def is_parietal_death
  @is_parietal_death
end

#mother_ageInt

Возраст матери minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


62
63
64
# File 'app/mappers/statement_content_of_death_mapper.rb', line 62

def mother_age
  @mother_age
end

#mother_of_dead_childCitizenWithoutIdentDocMapper

Данные о матери умершего ребенка, заполняются только в отношении ребенка, умершего в возрасте до 1 года (в т.ч. и на 1-й неделе жизни) minOccurs: 0, maxOccurs: 1



40
41
42
# File 'app/mappers/statement_content_of_death_mapper.rb', line 40

def mother_of_dead_child
  @mother_of_dead_child
end

#number_childInt

Который по счету ребенок из родившихся умер (с ЕПГУ получаем id, значение id соответствует числу) minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


48
49
50
# File 'app/mappers/statement_content_of_death_mapper.rb', line 48

def number_child
  @number_child
end

#number_child_in_familyInt

Порядковый номер ребенка в семье minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


52
53
54
# File 'app/mappers/statement_content_of_death_mapper.rb', line 52

def number_child_in_family
  @number_child_in_family
end

#occupationInt

Код Занятость по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


74
75
76
# File 'app/mappers/statement_content_of_death_mapper.rb', line 74

def occupation
  @occupation
end

#was_dead_person_establishedBoolean

Установленна ли личность умершего? minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


12
13
14
# File 'app/mappers/statement_content_of_death_mapper.rb', line 12

def was_dead_person_established
  @was_dead_person_established
end

#who_registered_deathInt

Код Причина смерти установлена по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


94
95
96
# File 'app/mappers/statement_content_of_death_mapper.rb', line 94

def who_registered_death
  @who_registered_death
end