ds_idu_nrvv-4.01.27.xsd
  1 <?xml version="1.0" encoding="utf-8"?>
  2 <xs:schema xmlns:dsComm="urn:cz-mzcr:ns:dasta:ds4:ds_type" xmlns:nrvv="urn:cz-mzcr:ns:dasta:ds4:ds_idu_nrvv" xmlns:dsiduCis="urn:cz-mzcr:ns:dasta:ds4:ds_cisidu" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:cz-mzcr:ns:dasta:ds4:ds_idu_nrvv" elementFormDefault="qualified" version="4.01.01">
  3 	<xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_cisidu" schemaLocation="ds_cisidu-4.03.05.xsd"/>
  4 	<xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_type" schemaLocation="ds_type-4.02.25.xsd"/>
  5 	<xs:element name="nrv" type="nrvv:nrvType"/>
  6 	<!--6.4.2016. nastaven  vonem1 jako nepovinny-
  7 		20.1.2026 	vrostav - rozvolneny datovy typ -->
  8 	<xs:complexType name="nrvType">
  9 		<xs:sequence>
 10 			<xs:element name="nrvv" type="nrvv:nrvvType" maxOccurs="unbounded"/>
 11 		</xs:sequence>
 12 		<xs:attribute name="vico" type="dsComm:icisType" use="required">
 13 			<xs:annotation>
 14 				<xs:documentation>IČO (identifikační číslo zdravotnického zařízení)</xs:documentation>
 15 			</xs:annotation>
 16 		</xs:attribute>
 17 		<xs:attribute name="vpcz" type="dsComm:number3de" use="required">
 18 			<xs:annotation>
 19 				<xs:documentation>PČZ (pořadové číslo zdravotnického zařízení)</xs:documentation>
 20 			</xs:annotation>
 21 		</xs:attribute>
 22 		<xs:attribute name="vpcpd" type="dsComm:number3de" use="required">
 23 			<xs:annotation>
 24 				<xs:documentation>PČDP (pořadové číslo detašovaného pracoviště)</xs:documentation>
 25 			</xs:annotation>
 26 		</xs:attribute>
 27 		<xs:attribute name="vodd" type="dsComm:str5" use="required">
 28 			<xs:annotation>
 29 				<xs:documentation>
 30                     Posledních 5 znaků kódu oddělení z číselníku ZdravotnickeOddeleni
 31 				</xs:documentation>
 32 			</xs:annotation>
 33 		</xs:attribute>
 34 	</xs:complexType>
 35 	<xs:complexType name="nrvvType">
 36 		<xs:choice>
 37 			<xs:element name="nrvp" type="nrvv:nrvpType">
 38 				<xs:annotation>
 39 					<xs:documentation>Vrozená vada plodu</xs:documentation>
 40 				</xs:annotation>
 41 			</xs:element>
 42 			<xs:element name="nrvd" type="nrvv:nrvdType">
 43 				<xs:annotation>
 44 					<xs:documentation>Vrozená vada dítěte nebo dospělého</xs:documentation>
 45 				</xs:annotation>
 46 			</xs:element>
 47 		</xs:choice>
 48 		<xs:attribute name="vvv" type="dsComm:logical" use="required">
 49 			<xs:annotation>
 50 				<xs:documentation>Vrozená vada nebo GPO (nrvv = 1 značí, že jde o vrozenou vadu a ne GPO; nrvv = 0 značí, že nejde o vrozenou vadu a tedy jde o GPO)</xs:documentation>
 51 			</xs:annotation>
 52 		</xs:attribute>
 53 	</xs:complexType>
 54 	<xs:complexType name="nrvdgType">
 55 		<xs:annotation>
 56 			<xs:documentation>Hlášená diagnóza – VV, GPO</xs:documentation>
 57 		</xs:annotation>
 58 		<xs:attribute name="dg" type="dsComm:str5">
 59 			<xs:annotation>
 60 				<xs:documentation>
 61                     Dg. dle číselníku MKN10_5
 62 				</xs:documentation>
 63 			</xs:annotation>
 64 		</xs:attribute>
 65 		<xs:attribute name="dgoro" type="dsComm:str10">
 66 			<xs:annotation>
 67 				<xs:documentation>
 68                     Dg. dle číselníku DgOro (Orpha number Orphanetu)
 69                 </xs:documentation>
 70 			</xs:annotation>
 71 		</xs:attribute>
 72 		<xs:attribute name="dgomim" type="dsComm:str10">
 73 			<xs:annotation>
 74 				<xs:documentation>
 75                     Dg. dle číselníku DgOmim (Online Mendelian Inheritance in Man)
 76                 </xs:documentation>
 77 			</xs:annotation>
 78 		</xs:attribute>
 79 		<xs:attribute name="dgssiem" type="dsComm:str20">
 80 			<xs:annotation>
 81 				<xs:documentation>
 82                     Dg. dle číselníku DgSsiem (Society for the Study of Inborn Errors of Metabolism)
 83                 </xs:documentation>
 84 			</xs:annotation>
 85 		</xs:attribute>
 86 	</xs:complexType>
 87 	<xs:complexType name="nrvvrType">
 88 		<xs:complexContent>
 89 			<xs:extension base="nrvv:nrvdgType">
 90 				<xs:attribute name="kdo" type="dsComm:number0-4" use="required">
 91 					<xs:annotation>
 92 						<xs:documentation>
 93                             Kdo dle číselníku VrozenaVadaVRodine
 94 						</xs:documentation>
 95 					</xs:annotation>
 96 				</xs:attribute>
 97 			</xs:extension>
 98 		</xs:complexContent>
 99 	</xs:complexType>
100 	<xs:complexType name="nrvpType">
101 		<xs:sequence>
102 			<xs:element name="nrvdg" type="nrvv:nrvdgType" maxOccurs="unbounded">
103 				<xs:annotation>
104 					<xs:documentation>Hlášená diagnóza – VV, GPO</xs:documentation>
105 				</xs:annotation>
106 			</xs:element>
107 			<xs:element name="nrvs" type="nrvv:nrvsType">
108 				<xs:annotation>
109 					<xs:documentation>Společné údaje</xs:documentation>
110 				</xs:annotation>
111 			</xs:element>
112 		</xs:sequence>
113 		<xs:attribute name="vdatzjip" type="xs:date" use="required">
114 			<xs:annotation>
115 				<xs:documentation>Datum zjištění vrozené vady/GPO</xs:documentation>
116 			</xs:annotation>
117 		</xs:attribute>
118 		<xs:attribute name="vteh" type="dsComm:number1-5" use="required">
119 			<xs:annotation>
120 				<xs:documentation>Těhotenství dle číselníku Tehotenstvi
121 				</xs:documentation>
122 			</xs:annotation>
123 		</xs:attribute>
124 		<xs:attribute name="vtytehp" type="dsComm:number5-40" use="required">
125 			<xs:annotation>
126 				<xs:documentation>Dokončený týden těhotenství při zjištění VV</xs:documentation>
127 			</xs:annotation>
128 		</xs:attribute>
129 		<xs:attribute name="vdatuko" type="xs:date">
130 			<xs:annotation>
131 				<xs:documentation>Datum ukončení těhotenství</xs:documentation>
132 			</xs:annotation>
133 		</xs:attribute>
134 		<xs:attribute name="vspot" type="xs:date">
135 			<xs:annotation>
136 				<xs:documentation>Spontánní potrat</xs:documentation>
137 			</xs:annotation>
138 		</xs:attribute>
139 	</xs:complexType>
140 	<xs:complexType name="nrvdType">
141 		<xs:sequence>
142 			<xs:element name="nrvdg" type="nrvv:nrvdgType" maxOccurs="unbounded">
143 				<xs:annotation>
144 					<xs:documentation>Hlášená diagnóza – VV, GPO</xs:documentation>
145 				</xs:annotation>
146 			</xs:element>
147 			<xs:element name="nrvs" type="nrvv:nrvsType">
148 				<xs:annotation>
149 					<xs:documentation>Společné údaje</xs:documentation>
150 				</xs:annotation>
151 			</xs:element>
152 		</xs:sequence>
153 		<xs:attribute name="vdatzjid" type="xs:date" use="required">
154 			<xs:annotation>
155 				<xs:documentation>Datum zjištění VV/GPO</xs:documentation>
156 			</xs:annotation>
157 		</xs:attribute>
158 		<xs:attribute name="vrodcisd" type="dsComm:rodcisType" use="required">
159 			<xs:annotation>
160 				<xs:documentation>Rodné číslo dítěte</xs:documentation>
161 			</xs:annotation>
162 		</xs:attribute>
163 		<xs:attribute name="vstaobcd" type="dsComm:str3" use="required">
164 			<xs:annotation>
165 				<xs:documentation>Státní občanství dle číselníku Zeme
166 				</xs:documentation>
167 			</xs:annotation>
168 		</xs:attribute>
169 		<xs:attribute name="vhmot" type="dsComm:number100-6000">
170 			<xs:annotation>
171 				<xs:documentation>Porodní hmotnost (g)</xs:documentation>
172 			</xs:annotation>
173 		</xs:attribute>
174 		<xs:attribute name="vpordel" type="dsComm:number20-60">
175 			<xs:annotation>
176 				<xs:documentation>Porodní délka (cm)</xs:documentation>
177 			</xs:annotation>
178 		</xs:attribute>
179 		<xs:attribute name="vdatumr" type="xs:date">
180 			<xs:annotation>
181 				<xs:documentation>Datum úmrtí</xs:documentation>
182 			</xs:annotation>
183 		</xs:attribute>
184 		<xs:attribute name="vvyslteh" type="dsComm:number0-2">
185 			<xs:annotation>
186 				<xs:documentation>Výsledek těhotenství dle číselníku VysledekTehotenstvi
187 				</xs:documentation>
188 			</xs:annotation>
189 		</xs:attribute>
190 		<xs:attribute name="vpohlav" type="dsComm:number0-3">
191 			<xs:annotation>
192 				<xs:documentation>Pohlaví dle číselníku Pohlavi
193 				</xs:documentation>
194 			</xs:annotation>
195 		</xs:attribute>
196 	</xs:complexType>
197 	<xs:complexType name="nrvsType">
198 		<xs:sequence>
199 			<xs:element name="vduvvys" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
200 				<xs:annotation>
201 					<xs:documentation>Důvod provedení invazivní prenatální diagnostiky dle číselníku TypDuvoduProvedeniInvPrenDiagnostiky
202 					</xs:documentation>
203 				</xs:annotation>
204 			</xs:element>
205 			<xs:element name="vmetoda" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
206 				<xs:annotation>
207 					<xs:documentation>Provedená invazivní prenatální diagnostika - Metoda dle číselníku PrenatalniDiagnostikaMetoda
208 					</xs:documentation>
209 				</xs:annotation>
210 			</xs:element>
211 			<xs:element name="vvysetr" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
212 				<xs:annotation>
213 					<xs:documentation>Vyšetření v rámci invazivní prenatální diagnostiky dle číselníku PrenatalniDiagnostikaVysetreni
214 					</xs:documentation>
215 				</xs:annotation>
216 			</xs:element>
217 			<xs:element name="vpredne" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
218 				<xs:annotation>
219 					<xs:documentation>Prenatální diagnostika neinvazivní dle číselníku TypPrenatalniDiagnostikaNeinvazivni
220 					</xs:documentation>
221 				</xs:annotation>
222 			</xs:element>
223 			<xs:element name="vpostdg" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
224 				<xs:annotation>
225 					<xs:documentation>Postnatální diagnostika dle číselníku TypPostnatalniDiagnostika
226 					</xs:documentation>
227 				</xs:annotation>
228 			</xs:element>
229 			<xs:element name="vvyspost" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="unbounded">
230 				<xs:annotation>
231 					<xs:documentation>Vyšetření v rámci postnatální diagnostiky dle číselníku TypVysetreniPostDiagnostiky
232 					</xs:documentation>
233 				</xs:annotation>
234 			</xs:element>
235 			<xs:element name="nrvvr" type="nrvv:nrvvrType" minOccurs="0" maxOccurs="8">
236 				<xs:annotation>
237 					<xs:documentation>Vrozená vada v rodině</xs:documentation>
238 				</xs:annotation>
239 			</xs:element>
240 			<xs:element name="vduvnepr" type="nrvv:polozkaCiselnikaType" minOccurs="0" maxOccurs="2">
241 				<xs:annotation>
242 					<xs:documentation>Důvod neprovedení prenatální diagnostiky dle číselníku DuvodNeprovedeniPrenatalniDiagnostiky
243 					</xs:documentation>
244 				</xs:annotation>
245 			</xs:element>
246 			<xs:element name="vlek" type="nrvv:vlekType" minOccurs="1" maxOccurs="3">
247 				<xs:annotation>
248 					<xs:documentation>Léky v těhotenství (1, 2, 3) dle číselníku TypLekuVTehotenstvi nebo Leky
249 					</xs:documentation>
250 				</xs:annotation>
251 			</xs:element>
252 		</xs:sequence>
253 		<xs:attribute name="vasrepr" type="dsComm:number0-10">
254 			<xs:annotation>
255 				<xs:documentation>Asistovaná reprodukce dle číselníku AsistovanaReprodukce
256 				</xs:documentation>
257 			</xs:annotation>
258 		</xs:attribute>
259 		<xs:attribute name="vprendiag" type="dsComm:number0-3">
260 			<xs:annotation>
261 				<xs:documentation>Prenatální diagnostika dle číselníku PrenatalniDiagnostika
262 				</xs:documentation>
263 			</xs:annotation>
264 		</xs:attribute>
265 		<xs:attribute name="vprendiagin" type="dsComm:number2d">
266 			<xs:annotation>
267 				<xs:documentation>Prenatální diagnostika invazivní (0 - neudáno, 1 - ano, 2 - ne)</xs:documentation>
268 			</xs:annotation>
269 		</xs:attribute>
270 		<xs:attribute name="vscreen" type="dsComm:number2d">
271 			<xs:annotation>
272 				<xs:documentation>V případě známého výsledku screeningu uveďte dle číselníku TypVysledkuPrenScreening
273 				</xs:documentation>
274 			</xs:annotation>
275 		</xs:attribute>
276 		<xs:attribute name="vuidm" type="dsComm:rodcisType">
277 			<xs:annotation>
278 				<xs:documentation>Údaje matky - Rodné číslo matky</xs:documentation>
279 			</xs:annotation>
280 		</xs:attribute>
281 		<xs:attribute name="vobec" type="dsComm:number6de" use="required">
282 			<xs:annotation>
283 				<xs:documentation>Obec bydliště matky dle číselníku Obec
284 				</xs:documentation>
285 			</xs:annotation>
286 		</xs:attribute>
287 		<xs:attribute name="vbydl" type="dsComm:str5">
288 			<xs:annotation>
289 				<xs:documentation>Číslo kraje a okresu (NUTS3 a NUTS4) dle číselníku KrajOkres
290 				</xs:documentation>
291 			</xs:annotation>
292 		</xs:attribute>
293 		<xs:attribute name="vorp" type="dsComm:number4de">
294 			<xs:annotation>
295 				<xs:documentation>Číslo obce s rozšířenou působností</xs:documentation>
296 			</xs:annotation>
297 		</xs:attribute>
298 		<xs:attribute name="vstaobcm" type="dsComm:str3">
299 			<xs:annotation>
300 				<xs:documentation>Státní občanství matky dle číselníku Zeme
301 				</xs:documentation>
302 			</xs:annotation>
303 		</xs:attribute>
304 		<xs:attribute name="vvzdelm" type="dsComm:number1-9">
305 			<xs:annotation>
306 				<xs:documentation>Vzdělání matky dle číselníku TypVzdelani
307 				</xs:documentation>
308 			</xs:annotation>
309 		</xs:attribute>
310 		<xs:attribute name="vkzamm" type="dsComm:number2d">
311 			<xs:annotation>
312 				<xs:documentation>Zaměstnání matky dle číselníku ZamestnaniVV
313 				</xs:documentation>
314 			</xs:annotation>
315 		</xs:attribute>
316 		<xs:attribute name="vrostav" type="dsComm:number1d">
317 			<xs:annotation>
318 				<xs:documentation>Rodinný stav matky dle číselníku Stav
319 				</xs:documentation>
320 			</xs:annotation>
321 		</xs:attribute>
322 		<xs:attribute name="vtytehd" type="dsComm:number0-47">
323 			<xs:annotation>
324 				<xs:documentation>Dokončený týden těhotenství (při narození)</xs:documentation>
325 			</xs:annotation>
326 		</xs:attribute>
327 		<xs:attribute name="vdatnarm" type="xs:date">
328 			<xs:annotation>
329 				<xs:documentation>Datum narození matky</xs:documentation>
330 			</xs:annotation>
331 		</xs:attribute>
332 		<xs:attribute name="vdatnarmr" type="dsComm:number4d">
333 			<xs:annotation>
334 				<xs:documentation>Rok narození matky</xs:documentation>
335 			</xs:annotation>
336 		</xs:attribute>
337 		<xs:attribute name="vcetteh" type="dsComm:number1-9" use="required">
338 			<xs:annotation>
339 				<xs:documentation>Četnost těhotenství dle číselníku CetnostTehotenstvi
340 				</xs:documentation>
341 			</xs:annotation>
342 		</xs:attribute>
343 		<xs:attribute name="vcettehdv" type="dsComm:number2d">
344 			<xs:annotation>
345 				<xs:documentation>Četnost těhotenství - Dvojčata dle číselníku CetnostTehotenstviDvojcata
346 				</xs:documentation>
347 			</xs:annotation>
348 		</xs:attribute>
349 		<xs:attribute name="vonem1" type="nrvv:vonemType">
350 			<xs:annotation>
351 				<xs:documentation>Onemocnění matky v těhotenství 1 dle číselníku TypOnemocneniVTehotenstvi
352 				</xs:documentation>
353 			</xs:annotation>
354 		</xs:attribute>
355 		<xs:attribute name="vonem1dg" type="dsComm:str5">
356 			<xs:annotation>
357 				<xs:documentation>Onemocnění matky v těhotenství 1 - diagnóza dle číselníku MKN10_5
358 				</xs:documentation>
359 			</xs:annotation>
360 		</xs:attribute>
361 		<xs:attribute name="vonem2" type="nrvv:vonemType">
362 			<xs:annotation>
363 				<xs:documentation>Onemocnění matky v těhotenství 2 dle číselníku TypOnemocneniVTehotenstvi
364 				</xs:documentation>
365 			</xs:annotation>
366 		</xs:attribute>
367 		<xs:attribute name="vonem2dg" type="dsComm:str5">
368 			<xs:annotation>
369 				<xs:documentation>Onemocnění matky v těhotenství 2 - diagnóza dle číselníku MKN10_5
370 				</xs:documentation>
371 			</xs:annotation>
372 		</xs:attribute>
373 		<xs:attribute name="vuzkys" type="dsComm:number1d">
374 			<xs:annotation>
375 				<xs:documentation>Užívání kyseliny listové dle číselníku TypUzivaniKyselinyListovej
376 				</xs:documentation>
377 			</xs:annotation>
378 		</xs:attribute>
379 		<xs:attribute name="vporgra" type="dsComm:number0-20">
380 			<xs:annotation>
381 				<xs:documentation>Pořadí gravidity</xs:documentation>
382 			</xs:annotation>
383 		</xs:attribute>
384 		<xs:attribute name="vporpar" type="dsComm:number0-20">
385 			<xs:annotation>
386 				<xs:documentation>Pořadí parity</xs:documentation>
387 			</xs:annotation>
388 		</xs:attribute>
389 		<xs:attribute name="vposap" type="dsComm:number1d">
390 			<xs:annotation>
391 				<xs:documentation>Počet předchádzejících samovolných potratů</xs:documentation>
392 			</xs:annotation>
393 		</xs:attribute>
394 		<xs:attribute name="vpoint" type="dsComm:number1d">
395 			<xs:annotation>
396 				<xs:documentation>Počet předcházejících UPT</xs:documentation>
397 			</xs:annotation>
398 		</xs:attribute>
399 		<xs:attribute name="vveko" type="dsComm:number2d" use="required">
400 			<xs:annotation>
401 				<xs:documentation>Věk otce</xs:documentation>
402 			</xs:annotation>
403 		</xs:attribute>
404 		<xs:attribute name="vkzamo" type="dsComm:number2d">
405 			<xs:annotation>
406 				<xs:documentation>Zaměstnání otce dle číselníku ZamestnaniVV
407 				</xs:documentation>
408 			</xs:annotation>
409 		</xs:attribute>
410 	</xs:complexType>
411 	<xs:complexType name="polozkaCiselnikaType">
412 		<xs:attribute name="kod" type="dsComm:number2d" use="required">
413 			<xs:annotation>
414 				<xs:documentation>Kód číselníkové položky</xs:documentation>
415 			</xs:annotation>
416 		</xs:attribute>
417 	</xs:complexType>
418 	<xs:complexType name="vlekType">
419 		<xs:annotation>
420 			<xs:documentation>
421                 Lék v těhotenství (vyplňuje se právě jeden z atributů typ, kod nebo atc)
422             </xs:documentation>
423 		</xs:annotation>
424 		<xs:attribute name="typ">
425 			<xs:annotation>
426 				<xs:documentation>
427                     Typ léku v těhotenství dle číselníku TypLekuVTehotenstvi
428 				</xs:documentation>
429 			</xs:annotation>
430 			<xs:simpleType>
431 				<xs:restriction base="xs:integer">
432 					<xs:pattern value="[09]"/>
433 				</xs:restriction>
434 			</xs:simpleType>
435 		</xs:attribute>
436 		<xs:attribute name="kod" type="dsComm:str7">
437 			<xs:annotation>
438 				<xs:documentation>
439                     Kód léku v těhotenství dle číselníku Leky
440 				</xs:documentation>
441 			</xs:annotation>
442 		</xs:attribute>
443 		<xs:attribute name="atc" type="dsComm:str7">
444 			<xs:annotation>
445 				<xs:documentation>
446                     ATC skupina léku v těhotenství dle číselníku Leky
447 				</xs:documentation>
448 			</xs:annotation>
449 		</xs:attribute>
450 	</xs:complexType>
451 	<xs:simpleType name="vonemType">
452 		<xs:restriction base="xs:int">
453 			<xs:enumeration value="0"/>
454 			<xs:enumeration value="1"/>
455 			<xs:enumeration value="9"/>
456 		</xs:restriction>
457 	</xs:simpleType>
458 </xs:schema>