ds_idu_nrpatv-4.08.05.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- edited with XMLSpy v2014 (x64) (http://www.altova.com) by Daniel Schwarz (Masaryk University) -->
3 <xs:schema xmlns:dsComm="urn:cz-mzcr:ns:dasta:ds4:ds_type"
4 xmlns:nrpatv="urn:cz-mzcr:ns:dasta:ds4:ds_idu_nrpatv"
5 xmlns:dsiduCis="urn:cz-mzcr:ns:dasta:ds4:ds_cisidu" xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 targetNamespace="urn:cz-mzcr:ns:dasta:ds4:ds_idu_nrpatv" elementFormDefault="qualified">
7 <xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_cisidu" schemaLocation="ds_cisidu-4.03.05.xsd" />
8 <xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_type" schemaLocation="ds_type-4.02.23.xsd" />
9 <xs:annotation>
10 <xs:documentation> Import common element types. </xs:documentation>
11 </xs:annotation>
12 <xs:annotation>
13 <xs:documentation> VETEV NRPATV - Národní registr pitev a toxikologických vyšetření
14 prováděných na oddělení soudního lékařství</xs:documentation>
15 </xs:annotation>
16 <xs:annotation>
17 <xs:documentation> *********************************************************** Definice
18 rozhraní registru NRPATV -- Start
19 *********************************************************** </xs:documentation>
20 </xs:annotation>
21 <xs:simpleType name="str256">
22 <xs:restriction base="xs:string">
23 <xs:minLength value="1" />
24 <xs:maxLength value="256" />
25 </xs:restriction>
26 </xs:simpleType>
27 <xs:simpleType name="denMesiceType">
28 <xs:restriction base="xs:integer">
29 <xs:minInclusive value="1" />
30 <xs:maxInclusive value="31" />
31 </xs:restriction>
32 </xs:simpleType>
33 <xs:simpleType name="mesicType">
34 <xs:restriction base="xs:integer">
35 <xs:minInclusive value="1" />
36 <xs:maxInclusive value="12" />
37 </xs:restriction>
38 </xs:simpleType>
39 <xs:simpleType name="sekceType">
40 <xs:restriction base="xs:string">
41 <xs:enumeration value="1">
42 <xs:annotation>
43 <xs:documentation>Sekce příčin smrti I.</xs:documentation>
44 </xs:annotation>
45 </xs:enumeration>
46 <xs:enumeration value="2">
47 <xs:annotation>
48 <xs:documentation>Sekce příčin smrti II.</xs:documentation>
49 </xs:annotation>
50 </xs:enumeration>
51 </xs:restriction>
52 </xs:simpleType>
53 <xs:simpleType name="polozkaType">
54 <xs:restriction base="xs:string">
55 <xs:enumeration value="a">
56 <xs:annotation>
57 <xs:documentation>Položka I. a příčin smrti</xs:documentation>
58 </xs:annotation>
59 </xs:enumeration>
60 <xs:enumeration value="b">
61 <xs:annotation>
62 <xs:documentation>Položka I. b příčin smrti</xs:documentation>
63 </xs:annotation>
64 </xs:enumeration>
65 <xs:enumeration value="c">
66 <xs:annotation>
67 <xs:documentation>Položka I. c příčin smrti</xs:documentation>
68 </xs:annotation>
69 </xs:enumeration>
70 <xs:enumeration value="d">
71 <xs:annotation>
72 <xs:documentation>Položka I. d příčin smrti</xs:documentation>
73 </xs:annotation>
74 </xs:enumeration>
75 <xs:enumeration value="v">
76 <xs:annotation>
77 <xs:documentation>Položka II. příčin smrti</xs:documentation>
78 </xs:annotation>
79 </xs:enumeration>
80 </xs:restriction>
81 </xs:simpleType>
82 <xs:simpleType name="number3.3">
83 <xs:restriction base="xs:string">
84 <xs:pattern value="[0-9]{1,3}([.][0-9]{1,3})?" />
85 </xs:restriction>
86 </xs:simpleType>
87 <xs:complexType name="nrpatvType">
88 <xs:all>
89 <xs:element name="seznam_testovanych_latek" type="nrpatv:seznam_testovanych_latekType"
90 minOccurs="0">
91 <xs:annotation>
92 <xs:documentation>Seznam testovaných skupin látek při toxikologickém vyšetření.</xs:documentation>
93 </xs:annotation>
94 </xs:element>
95 <xs:element name="seznam_vysetreni" type="nrpatv:seznam_vysetreniType" minOccurs="0">
96 <xs:annotation>
97 <xs:documentation>Seznam látek nalezených při toxikologickém vyšetření.</xs:documentation>
98 </xs:annotation>
99 </xs:element>
100 <xs:element name="seznam_zarizeni" type="nrpatv:seznam_zarizeniType" minOccurs="1">
101 <xs:annotation>
102 <xs:documentation>Seznam zdravotnických zařízení, které se na pitvě podílely.</xs:documentation>
103 </xs:annotation>
104 </xs:element>
105 <xs:element name="seznam_diagnoz" type="nrpatv:seznam_diagnozType" minOccurs="0">
106 <xs:annotation>
107 <xs:documentation>Seznam příčin smrti zemřelého.</xs:documentation>
108 </xs:annotation>
109 </xs:element>
110 </xs:all>
111 <xs:attribute name="znama_totoznost" type="xs:boolean" use="required">
112 <xs:annotation>
113 <xs:documentation>Zda je totožnost zemřelého známá.</xs:documentation>
114 </xs:annotation>
115 </xs:attribute>
116 <xs:attribute name="rodne_cislo" type="dsComm:rodcisType">
117 <xs:annotation>
118 <xs:documentation>Rodné číslo zemřelého.</xs:documentation>
119 </xs:annotation>
120 </xs:attribute>
121 <xs:attribute name="cislo_pojistence" type="dsComm:str10">
122 <xs:annotation>
123 <xs:documentation>Číslo pojištěnce zemřelého.</xs:documentation>
124 </xs:annotation>
125 </xs:attribute>
126 <xs:attribute name="jmeno" type="dsComm:str20">
127 <xs:annotation>
128 <xs:documentation>Jméno zemřelého.</xs:documentation>
129 </xs:annotation>
130 </xs:attribute>
131 <xs:attribute name="prijmeni" type="dsComm:str30">
132 <xs:annotation>
133 <xs:documentation>Příjmení zemřelého.</xs:documentation>
134 </xs:annotation>
135 </xs:attribute>
136 <xs:attribute name="datum_narozeni" type="xs:date">
137 <xs:annotation>
138 <xs:documentation>Datum narození zemřelého.</xs:documentation>
139 </xs:annotation>
140 </xs:attribute>
141 <xs:attribute name="stari" type="xs:unsignedByte">
142 <xs:annotation>
143 <xs:documentation>Odhadovaný věk zemřelého, pokud není známa jeho totožnost.</xs:documentation>
144 </xs:annotation>
145 </xs:attribute>
146 <xs:attribute name="pohlavi" type="dsComm:str1" use="required">
147 <xs:annotation>
148 <xs:documentation>Pohlaví zemřelého dle číselníku Pohlavi
149 </xs:documentation>
150 </xs:annotation>
151 </xs:attribute>
152 <xs:attribute name="obcanstvi" type="dsComm:str3">
153 <xs:annotation>
154 <xs:documentation>Státní občanství zemřelého, dle číselníku csu.Zeme
155 </xs:documentation>
156 </xs:annotation>
157 </xs:attribute>
158 <xs:attribute name="den_umrti" type="nrpatv:denMesiceType">
159 <xs:annotation>
160 <xs:documentation>Den úmrtí zemřelého, od 1 do 31 včetně.</xs:documentation>
161 </xs:annotation>
162 </xs:attribute>
163 <xs:attribute name="mesic_umrti" type="nrpatv:mesicType">
164 <xs:annotation>
165 <xs:documentation>Měsíc úmrtí zemřelého, od 1 do 12 včetně.</xs:documentation>
166 </xs:annotation>
167 </xs:attribute>
168 <xs:attribute name="rok_umrti" type="dsComm:number4de" use="required">
169 <xs:annotation>
170 <xs:documentation>Rok úmrtí zemřelého.</xs:documentation>
171 </xs:annotation>
172 </xs:attribute>
173 <xs:attribute name="cas_umrti" type="xs:time">
174 <xs:annotation>
175 <xs:documentation>Čas úmrtí zemřelého.</xs:documentation>
176 </xs:annotation>
177 </xs:attribute>
178 <xs:attribute name="misto_umrti_obec" type="dsComm:str6">
179 <xs:annotation>
180 <xs:documentation>Kód obce místa úmrtí zmeřelého dle číselníku Obec.</xs:documentation>
181 </xs:annotation>
182 </xs:attribute>
183 <xs:attribute name="misto_umrti" type="xs:unsignedByte" use="required">
184 <xs:annotation>
185 <xs:documentation>Místo úmrtí dle číselníku KdeNastaloUmrti.</xs:documentation>
186 </xs:annotation>
187 </xs:attribute>
188 <xs:attribute name="misto_umrti_upresneni" type="dsComm:str100">
189 <xs:annotation>
190 <xs:documentation>Textové upřesnění místa úmrtí v případě, že misto_umrti = jinde.</xs:documentation>
191 </xs:annotation>
192 </xs:attribute>
193 <xs:attribute name="misto_pobytu_ulice" type="dsComm:str20">
194 <xs:annotation>
195 <xs:documentation>Ulice místa trvalého pobytu zemřelého.</xs:documentation>
196 </xs:annotation>
197 </xs:attribute>
198 <xs:attribute name="misto_pobytu_cp" type="dsComm:str10">
199 <xs:annotation>
200 <xs:documentation>Číslo popisné místa trvalého pobytu zemřelého.</xs:documentation>
201 </xs:annotation>
202 </xs:attribute>
203 <xs:attribute name="misto_pobytu_obec" type="dsComm:str6">
204 <xs:annotation>
205 <xs:documentation>Kód obce místa trvalého pobytu zemřelého dle číselníku Obec
206 </xs:documentation>
207 </xs:annotation>
208 </xs:attribute>
209 <xs:attribute name="misto_pobytu_okres" type="dsComm:str6">
210 <xs:annotation>
211 <xs:documentation>Kód okresu místa trvalého pobytu dle číselníku KrajOkres.</xs:documentation>
212 </xs:annotation>
213 </xs:attribute>
214 <xs:attribute name="misto_pobytu_stat" type="dsComm:str3">
215 <xs:annotation>
216 <xs:documentation>Kód státu místa trvalého pobytu dle číselníku csu.Zeme
217 </xs:documentation>
218 </xs:annotation>
219 </xs:attribute>
220 <xs:attribute name="vzdelani" type="xs:unsignedByte" use="required">
221 <xs:annotation>
222 <xs:documentation>Kód vzdělání zemřelého dle číselníku VzdelaniLpz.</xs:documentation>
223 </xs:annotation>
224 </xs:attribute>
225 <xs:attribute name="rodinny_stav" type="xs:unsignedByte" use="required">
226 <xs:annotation>
227 <xs:documentation>Kód rodinného stavu zemřelého dle číselníku Stav.</xs:documentation>
228 </xs:annotation>
229 </xs:attribute>
230 <xs:attribute name="anamneza" type="dsComm:str50">
231 <xs:annotation>
232 <xs:documentation>Anamnéza.</xs:documentation>
233 </xs:annotation>
234 </xs:attribute>
235 <xs:attribute name="zamestnani" type="dsComm:str50">
236 <xs:annotation>
237 <xs:documentation>Zaměstnání zemřelého.</xs:documentation>
238 </xs:annotation>
239 </xs:attribute>
240 <xs:attribute name="dalsi_okolnosti" type="dsComm:str50">
241 <xs:annotation>
242 <xs:documentation>Další okolnosti úmrtí.</xs:documentation>
243 </xs:annotation>
244 </xs:attribute>
245 <xs:attribute name="datum" type="xs:date" use="required">
246 <xs:annotation>
247 <xs:documentation>Datum pitvy.</xs:documentation>
248 </xs:annotation>
249 </xs:attribute>
250 <xs:attribute name="cislo_protokolu" type="xs:int" use="required">
251 <xs:annotation>
252 <xs:documentation>Číslo protokolu.</xs:documentation>
253 </xs:annotation>
254 </xs:attribute>
255 <xs:attribute name="provedena_toxikologie" type="xs:boolean" use="required">
256 <xs:annotation>
257 <xs:documentation>Zda bylo provedeno toxikologické vyšetření.</xs:documentation>
258 </xs:annotation>
259 </xs:attribute>
260 <xs:attribute name="typ_umrti" type="xs:unsignedByte">
261 <xs:annotation>
262 <xs:documentation>Kód typu úmrtí dle číselníku TypUmrti.</xs:documentation>
263 </xs:annotation>
264 </xs:attribute>
265 <xs:attribute name="vp_mechanismus_umrti" type="dsComm:str100">
266 <xs:annotation>
267 <xs:documentation>Textový popis mechanismu úmrtí.</xs:documentation>
268 </xs:annotation>
269 </xs:attribute>
270 <xs:attribute name="vp_aktivita" type="xs:unsignedByte">
271 <xs:annotation>
272 <xs:documentation>Mechanismus úmrtí - kód aktivity dle číselníku
273 Ciselnik9Pro5MistoDg.</xs:documentation>
274 </xs:annotation>
275 </xs:attribute>
276 <xs:attribute name="vp_misto" type="xs:unsignedByte">
277 <xs:annotation>
278 <xs:documentation>Mechanismus úmrtí - kód místa dle číselníku MistoUdalosti
279 .</xs:documentation>
280 </xs:annotation>
281 </xs:attribute>
282 <xs:attribute name="vp_datum" type="xs:date">
283 <xs:annotation>
284 <xs:documentation>Datum události popsané v mechanismu úmrtí.</xs:documentation>
285 </xs:annotation>
286 </xs:attribute>
287 <xs:attribute name="vp_diagnoza" type="dsComm:str5">
288 <xs:annotation>
289 <xs:documentation>Kód mechanismu úmrtí dle číselníku MKN10_5.</xs:documentation>
290 </xs:annotation>
291 </xs:attribute>
292 <xs:attribute name="rozhodnuti_pitva_provedena" type="xs:boolean" use="required">
293 <xs:annotation>
294 <xs:documentation>Zda byla pitva provedena.</xs:documentation>
295 </xs:annotation>
296 </xs:attribute>
297 <xs:attribute name="rozhodnuti_pitva_text" type="dsComm:str100">
298 <xs:annotation>
299 <xs:documentation>Důvod neprovedení pitvy.</xs:documentation>
300 </xs:annotation>
301 </xs:attribute>
302 </xs:complexType>
303 <xs:complexType name="seznam_testovanych_latekType">
304 <xs:sequence>
305 <xs:element name="skupina" type="nrpatv:nrpatvTestovanaSkupinaLatekType" minOccurs="0"
306 maxOccurs="unbounded" />
307 </xs:sequence>
308 </xs:complexType>
309 <xs:complexType name="seznam_vysetreniType">
310 <xs:sequence>
311 <xs:element name="vysetreni" type="nrpatv:nrpatvToxikologickeVysetreniType" minOccurs="0"
312 maxOccurs="unbounded" />
313 </xs:sequence>
314 </xs:complexType>
315 <xs:complexType name="seznam_zarizeniType">
316 <xs:sequence>
317 <xs:element name="zarizeni" type="nrpatv:nrpatvToxikologieZarizeniType"
318 maxOccurs="unbounded" />
319 </xs:sequence>
320 </xs:complexType>
321 <xs:complexType name="seznam_diagnozType">
322 <xs:sequence>
323 <xs:element name="diagnoza" type="nrpatv:nrpatvDiagnozaType" maxOccurs="unbounded" />
324 </xs:sequence>
325 </xs:complexType>
326 <xs:complexType name="nrpatvToxikologieZarizeniType">
327 <xs:sequence>
328 <xs:element name="lekari" type="nrpatv:lekariType">
329 <xs:annotation>
330 <xs:documentation>Seznam lékařů tohoto zařízení, kteří se na pitvě podíleli.</xs:documentation>
331 </xs:annotation>
332 </xs:element>
333 </xs:sequence>
334 <xs:attribute name="zarizeni" type="dsComm:str11" use="required">
335 <xs:annotation>
336 <xs:documentation>Kód zdravotnického zařízení dle číselníku ZdravotnickeZarizeni
337 .</xs:documentation>
338 </xs:annotation>
339 </xs:attribute>
340 <xs:attribute name="odd" type="dsComm:str2">
341 <xs:annotation>
342 <xs:documentation>Kód oddělení dle číselníku Oddeleni.</xs:documentation>
343 </xs:annotation>
344 </xs:attribute>
345 </xs:complexType>
346 <xs:complexType name="nrpatvDiagnozaType">
347 <xs:attribute name="sekce" type="nrpatv:sekceType" use="required">
348 <xs:annotation>
349 <xs:documentation>Sekce této příčiny smrti.</xs:documentation>
350 </xs:annotation>
351 </xs:attribute>
352 <xs:attribute name="polozka" type="nrpatv:polozkaType" use="required">
353 <xs:annotation>
354 <xs:documentation>Položka této příčiny smrti.</xs:documentation>
355 </xs:annotation>
356 </xs:attribute>
357 <xs:attribute name="diagnoza" type="dsComm:str5" use="required">
358 <xs:annotation>
359 <xs:documentation>Kód diagnózy dle číselníku MKN10_5.</xs:documentation>
360 </xs:annotation>
361 </xs:attribute>
362 <xs:attribute name="upresneni" type="nrpatv:str256">
363 <xs:annotation>
364 <xs:documentation>Upřesňovací text.</xs:documentation>
365 </xs:annotation>
366 </xs:attribute>
367 </xs:complexType>
368 <xs:complexType name="nrpatvToxikologickeVysetreniType">
369 <xs:attribute name="material" type="dsComm:str5" use="required">
370 <xs:annotation>
371 <xs:documentation>Kód materiálu dle číselníku ToxikologieMaterial.</xs:documentation>
372 </xs:annotation>
373 </xs:attribute>
374 <xs:attribute name="material_jiny" type="dsComm:str100">
375 <xs:annotation>
376 <xs:documentation>Popis jiného materiálu.</xs:documentation>
377 </xs:annotation>
378 </xs:attribute>
379 <xs:attribute name="latka" type="dsComm:str5" use="required">
380 <xs:annotation>
381 <xs:documentation>Kód látky dle číselníku ToxikologieLatka.</xs:documentation>
382 </xs:annotation>
383 </xs:attribute>
384 <xs:attribute name="metoda" type="dsComm:str5" use="required">
385 <xs:annotation>
386 <xs:documentation>Kód metody toxikologického vyšetření dle ToxikologieMetoda
387 .</xs:documentation>
388 </xs:annotation>
389 </xs:attribute>
390 <xs:attribute name="mnozstvi" type="nrpatv:number3.3">
391 <xs:annotation>
392 <xs:documentation>Množství nalezené látky. Jednotkou je jednotka přidělená zvolené
393 látce.</xs:documentation>
394 </xs:annotation>
395 </xs:attribute>
396 <xs:attribute name="vliv_na_umrti" type="dsComm:str1" use="required">
397 <xs:annotation>
398 <xs:documentation>Kód vlivu látky na úmrtí dle číselníku
399 ToxikologieVlivLatkyNaUmrti.</xs:documentation>
400 </xs:annotation>
401 </xs:attribute>
402 </xs:complexType>
403 <xs:complexType name="nrpatvTestovanaSkupinaLatekType">
404 <xs:attribute name="kod" type="dsComm:str5" use="required">
405 <xs:annotation>
406 <xs:documentation>Kód skupiny látek dle číselníku ToxikologieSkupinaLatky.</xs:documentation>
407 </xs:annotation>
408 </xs:attribute>
409 </xs:complexType>
410 <xs:complexType name="lekariType">
411 <xs:sequence>
412 <xs:element name="lekar" type="nrpatv:pitvaToxikologieLekarType" maxOccurs="unbounded" />
413 </xs:sequence>
414 </xs:complexType>
415 <xs:complexType name="pitvaToxikologieLekarType">
416 <xs:attribute name="icp" type="dsComm:str8" use="required">
417 <xs:annotation>
418 <xs:documentation>IČP lékaře.</xs:documentation>
419 </xs:annotation>
420 </xs:attribute>
421 <xs:attribute name="jmeno" type="dsComm:str30" use="required">
422 <xs:annotation>
423 <xs:documentation>Jméno lékaře.</xs:documentation>
424 </xs:annotation>
425 </xs:attribute>
426 <xs:attribute name="prijmeni" type="dsComm:str30" use="required">
427 <xs:annotation>
428 <xs:documentation>Příjmení lékaře.</xs:documentation>
429 </xs:annotation>
430 </xs:attribute>
431 </xs:complexType>
432 <xs:annotation>
433 <xs:documentation> *********************************************************** Definice
434 rozhraní registru NRPATV -- Konec
435 *********************************************************** </xs:documentation>
436 </xs:annotation>
437 <xs:annotation>
438 <xs:documentation> ************************************************************************
439 KORENOVY ELEMENT IDU (kompozice vyse definovanych komplexnich typu)
440 *********************************************************************** </xs:documentation>
441 </xs:annotation>
442 <xs:element name="idu">
443 <xs:complexType>
444 <xs:sequence>
445 <xs:element name="nr">
446 <xs:complexType>
447 <xs:sequence>
448 <xs:element name="nrpatv" type="nrpatv:nrpatvType" minOccurs="0"
449 maxOccurs="unbounded" />
450 </xs:sequence>
451 </xs:complexType>
452 </xs:element>
453 </xs:sequence>
454 </xs:complexType>
455 </xs:element>
456 </xs:schema>