1
<?xml version="1.0" encoding="utf-8"?>
5
<!-- Health Centers -->
7
<record id="partner_institution1" model="res.partner">
8
<field name="name">GNU Solidario Hospital</field>
9
<field name="lastname"></field>
10
<field name="ref">55-4394-7777</field>
11
<field name="is_institution">1</field>
15
<record id="res_address_institution1" model="res.partner.address">
16
<field name="street">Avda Las Canteras 789</field>
17
<field name="city">Las Palmas</field>
18
<field name="name">GNU Solidario Hospital</field>
19
<field name="email">info@gnusolidario.org</field>
20
<field model="res.country" name="country_id" search="[('name','=','Spain')]"/>
21
<field name="partner_id" ref="partner_institution1"/>
26
<record id="partner_insurance1" model="res.partner">
27
<field name="name">Insurator</field>
28
<field name="ref">333333-5566</field>
32
<record id="partner_doctor1" model="res.partner">
33
<field name="name">Cameron</field>
34
<field name="lastname">Cordara</field>
35
<field name="ref">55555654</field>
36
<field name="is_doctor">1</field>
37
<field name="is_person">1</field>
38
<field name="user_id" search="[('name','=','Administrator')]"/>
41
<record id="res_address_doctor1" model="res.partner.address">
42
<field name="street">Carretera del Norte</field>
43
<field name="city">Agaete</field>
44
<field name="phone">+34 928 55432534</field>
45
<field name="email">info@gnusolidario.org</field>
46
<field name="partner_id" ref="partner_doctor1"/>
49
<record id="doctor1" model="medical.physician">
50
<field name="name" ref="partner_doctor1"/>
51
<field name="institution" ref="partner_institution1"/>
52
<field name="code">94834729-283</field>
57
<record id="partner_patient1" model="res.partner">
58
<field name="name">Ana</field>
59
<field name="lastname">Betz</field>
60
<field name="ref">46777456-Z</field>
61
<field name="is_patient">1</field>
62
<field name="is_person">1</field>
63
<field name="user_id" search="[('name','=','Administrator')]"/>
66
<record id="res_partner_address_1" model="res.partner.address">
67
<field name="street">Avda Marítima 5679</field>
68
<field name="city">Las Palmas</field>
69
<field name="phone">34 928 37364829</field>
70
<field name="email">medical@thymbra.com</field>
71
<field name="partner_id" ref="partner_patient1"/>
75
<record id="medical_insurance_1" model="medical.insurance">
76
<field name="name" ref="partner_patient1"/>
77
<field name="number">560432921</field>
78
<field name="company" ref="partner_insurance1"/>
82
<record id="patient1" model="medical.patient">
83
<field name="name" ref="partner_patient1"/>
84
<field name="dob">1970-04-04</field>
85
<field name="sex">f</field>
86
<field name="ethnic_group">5</field>
87
<field name="marital_status">m</field>
88
<field name="blood_type">A</field>
89
<field name="rh">+</field>
90
<field name="primary_care_doctor" ref="doctor1"/>
91
<field name="current_address" ref="res_partner_address_1"/>
92
<field name="primary_care_doctor" ref="doctor1"/>
93
<field name="current_insurance" ref="medical_insurance_1"/>
94
<field name="critical_info">- Allergic to penicillin (anaphylaxis)
102
<record id="partner_patient2" model="res.partner">
103
<field name="name">Josh</field>
104
<field name="lastname">Doe</field>
105
<field name="ref">2356453-Q</field>
106
<field name="is_patient">1</field>
107
<field name="is_person">1</field>
108
<field name="user_id" search="[('name','=','Administrator')]"/>
111
<record id="res_partner_address_2" model="res.partner.address">
112
<field name="street">Esperanza 15679</field>
113
<field name="partner_id" ref="partner_patient2"/>
117
<record id="patient2" model="medical.patient">
118
<field name="name" ref="partner_patient2"/>
119
<field name="dob">1985-10-11</field>
120
<field name="sex">m</field>
121
<field name="ethnic_group">5</field>
122
<field name="marital_status">s</field>
123
<field name="blood_type">B</field>
124
<field name="rh">-</field>
125
<field name="primary_care_doctor" ref="doctor1"/>
126
<field name="current_address" ref="res_partner_address_2"/>
127
<field name="primary_care_doctor" ref="doctor1"/>
128
<field name="critical_info">Intravenous heroin user.
130
- Cerebral toxoplasmosis
142
<!-- Demo data for Hospital Building, Units, Wards/Rooms and beds -->
144
<record id="hospital_building_1" model="medical.hospital.building">
145
<field name="name">Wing 2</field>
146
<field name="institution" ref="partner_institution1"/>
149
<record id="hospital_unit_1" model="medical.hospital.unit">
150
<field name="name">Chest</field>
151
<field name="institution" ref="partner_institution1"/>
154
<record id="product_category_bed1" model="product.category">
155
<field name="name">Hospital Bed</field>
156
<field name="institution" ref="partner_institution1"/>
160
<record id="ward1" model="medical.hospital.ward">
161
<field name="name">Atlantico</field>
162
<field name="institution" ref="partner_institution1"/>
163
<field name="building" ref="hospital_building_1"/>
164
<field name="unit" ref="hospital_unit_1"/>
165
<field name="floor">3</field>
166
<field name="number_of_beds">5</field>
169
<record id="product_bed_320" model="product.product">
170
<field name="list_price">100</field>
171
<field name="standard_price">100</field>
172
<field name="uom_id" ref="product.product_uom_unit"/>
173
<field name="uom_po_id" ref="product.product_uom_unit"/>
174
<field name="type">service</field>
175
<field name="is_rental">1</field>
176
<field name="name">320</field>
177
<field name="code">BED320</field>
178
<field name="is_bed">1</field>
179
<field name="categ_id" ref="product_category_bed1"/>
182
<record id="bed_320" model="medical.hospital.bed">
183
<field name="name" ref="product_bed_320"/>
184
<field name="ward" ref="ward1"/>
185
<field name="telephone_number">555-5100 x0320</field>
186
<field name="state">free</field>