IkreNpMessages.xsd
  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <xs:schema xmlns="urn:cz:isvs:cssz:schemas:IkreNpMessages:v1"
  3            xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4            xmlns:ikrmsg="urn:cz:isvs:cssz:schemas:IkrMessageTypes:v1"
  5            xmlns:ikrbt="urn:cz:isvs:cssz:schemas:IkrBaseTypes:v1"
  6            targetNamespace="urn:cz:isvs:cssz:schemas:IkreNpMessages:v1"
  7            elementFormDefault="qualified"
  8            version="1.1.2">
  9 
 10     <xs:annotation>
 11         <xs:documentation xml:lang="cs">
 12             XML schéma pro externí požadavky a odpovědi v systému ČSSZ IKR.
 13             <p/>
 14             Verze 1.1.0   21.05.2024 - počáteční vytvoření kopií z IkreDpnMessages
 15             Verze 1.1.1   30.05.2024 - dplnění chybějících atributů v podani Rpdp1 a Rpdp2
 16             Verze 1.1.2, 27.06. 2024 - přidán enum DruhDavkyNpType
 17             Verze 1.1.3, 04.07. 2024 - rozšíření služby 10.11 pro náhled na případy z papírových podání
 18         </xs:documentation>
 19     </xs:annotation>
 20 
 21     <xs:import namespace="urn:cz:isvs:cssz:schemas:IkrBaseTypes:v1"
 22                schemaLocation="../../ikr/xsd/IkrBaseTypes.xsd"/>
 23     <xs:import namespace="urn:cz:isvs:cssz:schemas:IkrMessageTypes:v1"
 24                schemaLocation="../../ikr/xsd/IkrDpnMessageTypes.xsd"/>
 25 
 26 
 27     <xs:complexType name="PodaniNpType">
 28         <xs:annotation>
 29             <xs:documentation xml:lang="cs">
 30                 Ikre 10.11 - Dotaz na podání - odpověď.
 31             </xs:documentation>
 32         </xs:annotation>
 33         <xs:complexContent>
 34             <xs:extension base="ikrmsg:IkrOdpovedDataAbstractType">
 35                 <xs:sequence>
 36                     <xs:element name="IdPodani" type="ikrbt:UUIDType">
 37                         <xs:annotation>
 38                             <xs:documentation xml:lang="cs">Jednoznačná identifikace elektronického podání</xs:documentation>
 39                         </xs:annotation>
 40                     </xs:element>
 41                     <xs:element name="TypPodani" type="ikrmsg:TypPodaniNpType">
 42                         <xs:annotation>
 43                             <xs:documentation xml:lang="cs">Typ elektronického podání (např. PDP, PHDZD, RPOP1, RPOP2, RPDP1, RPDP2, HOLNP, PTNP)</xs:documentation>
 44                         </xs:annotation>
 45                     </xs:element>
 46                     <xs:element name="DruhDavkyNp" type="DruhDavkyNpType">
 47                         <xs:annotation>
 48                             <xs:documentation>Identifikace druhu dávky NP, ke které podání patří:
 49                                 M - mateřská - Potvrzení o datu porodu
 50                                 T - otcovská - Potvrzení o hospitalizaci dítěte ze zdravotních důvodů
 51                                 N - ošetřovné
 52                                 L - dlouhodobé ošetřovné
 53                                 Z - ošetřovné vystavené školským zařízením
 54                             </xs:documentation>
 55                         </xs:annotation>
 56                     </xs:element>
 57                     <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType">
 58                         <xs:annotation>
 59                             <xs:documentation>Číslo rozhodnutí</xs:documentation>
 60                         </xs:annotation>
 61                     </xs:element>
 62                     <xs:element name="RodneCislo" type="ikrbt:RC_ECPType" minOccurs="0">
 63                         <xs:annotation>
 64                             <xs:documentation xml:lang="cs">RČ/EČP osoby</xs:documentation>
 65                         </xs:annotation>
 66                     </xs:element>
 67                     <xs:element name="Jmeno" type="ikrbt:Nazev100Type">
 68                         <xs:annotation>
 69                             <xs:documentation xml:lang="cs">Jméno osoby</xs:documentation>
 70                         </xs:annotation>
 71                     </xs:element>
 72                     <xs:element name="Prijmeni" type="ikrbt:Nazev100Type">
 73                         <xs:annotation>
 74                             <xs:documentation xml:lang="cs">Příjmení osoby</xs:documentation>
 75                         </xs:annotation>
 76                     </xs:element>
 77                     <xs:element name="StavPodani" type="ikrbt:Nazev8Type">
 78                         <xs:annotation>
 79                             <xs:documentation>Stav podání</xs:documentation>
 80                         </xs:annotation>
 81                     </xs:element>
 82                     <xs:element name="DatumVystaveni" type="ikrbt:DatumType">
 83                         <xs:annotation>
 84                             <xs:documentation xml:lang="cs">Datum vystavení podání</xs:documentation>
 85                         </xs:annotation>
 86                     </xs:element>
 87                     <xs:element name="DatumPrijeti" type="ikrbt:DatumCasType">
 88                         <xs:annotation>
 89                             <xs:documentation xml:lang="cs">Datum a čas, kdy bylo podání uloženo na ČSSZ</xs:documentation>
 90                         </xs:annotation>
 91                     </xs:element>
 92                     <xs:element name="OpravnePodani" type="ikrbt:PriznakType" minOccurs="0">
 93                         <xs:annotation>
 94                             <xs:documentation xml:lang="cs">Identifikace opravného podání</xs:documentation>
 95                         </xs:annotation>
 96                     </xs:element>
 97                 </xs:sequence>
 98             </xs:extension>
 99         </xs:complexContent>
100     </xs:complexType>
101     
102     <xs:complexType name="PripadNpType">
103         <xs:annotation>
104             <xs:documentation>
105                 Základní informace o evidenčním případu k dávce NP, převzatém z NEM. Vrací se v situaci, kdy k případu dojde nějaké podání papírově případně v situaci, kdy dojde ke stornování celého případu na ČSSZ.
106             </xs:documentation>
107         </xs:annotation>
108         <xs:complexContent>
109             <xs:extension base="ikrmsg:IkrOdpovedDataAbstractType">
110                 <xs:sequence>
111                     <xs:element name="DruhDavkyNp" type="DruhDavkyNpType">
112                         <xs:annotation>
113                             <xs:documentation>Identifikace druhu dávky NP, ke které podání patří:
114                                 M - mateřská - Potvrzení o datu porodu
115                                 T - otcovská - Potvrzení o hospitalizaci dítěte ze zdravotních důvodů
116                                 N - ošetřovné
117                                 L - dlouhodobé ošetřovné
118                                 Z - ošetřovné vystavené školským zařízením
119                             </xs:documentation>
120                         </xs:annotation>
121                     </xs:element>
122                     <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType">
123                         <xs:annotation>
124                             <xs:documentation>Číslo rozhodnutí</xs:documentation>
125                         </xs:annotation>
126                     </xs:element>
127                     <xs:element name="RodneCislo" type="ikrbt:RC_ECPType" minOccurs="0">
128                         <xs:annotation>
129                             <xs:documentation xml:lang="cs">RČ/EČP osoby</xs:documentation>
130                         </xs:annotation>
131                     </xs:element>
132                     <xs:element name="Jmeno" type="ikrbt:Nazev100Type">
133                         <xs:annotation>
134                             <xs:documentation xml:lang="cs">Jméno osoby</xs:documentation>
135                         </xs:annotation>
136                     </xs:element>
137                     <xs:element name="Prijmeni" type="ikrbt:Nazev100Type">
138                         <xs:annotation>
139                             <xs:documentation xml:lang="cs">Příjmení osoby</xs:documentation>
140                         </xs:annotation>
141                     </xs:element>
142                     <xs:element name="DatumPapirovehoPodani" type="ikrbt:DatumType" minOccurs="0">
143                         <xs:annotation>
144                             <xs:documentation>Pokud je k případu evidován papírový dokument, datum podání nejnovějšího z nich</xs:documentation>
145                         </xs:annotation>
146                     </xs:element>
147                     <xs:element name="DatumStorna" type="ikrbt:DatumType" minOccurs="0">
148                         <xs:annotation>
149                             <xs:documentation>Pokud je případ stornován, datum provedení storna</xs:documentation>
150                         </xs:annotation>
151                     </xs:element>
152 					<xs:element name="StavPripadu" type="ikrbt:Nazev3Type">
153                         <xs:annotation>
154                             <xs:documentation>Stav případu:
155 							OTV - otevřený
156 							RZP - rozpracovaný 
157 							UKC - ukončený
158 							STR - stornovaný
159 							</xs:documentation>
160                         </xs:annotation>
161                     </xs:element>
162                 </xs:sequence>
163             </xs:extension>
164         </xs:complexContent>
165     </xs:complexType>
166     
167 
168     
169     
170     <xs:complexType name="PripadAbstractNpType">
171         <xs:annotation>
172             <xs:documentation>
173                 Údaje případu převzatého z NEM
174             </xs:documentation>
175         </xs:annotation>
176         <xs:sequence>
177             <xs:element name="KodOssz" type="ikrbt:KodCiselnikuType">
178                 <xs:annotation>
179                     <xs:documentation xml:lang="cs">Číslo okresní SSZ. Např. 225</xs:documentation>
180                 </xs:annotation>
181             </xs:element>
182             <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType" minOccurs="0">
183                 <xs:annotation>
184                     <xs:documentation>Číslo rozhodnutí o potřebě péče/dlouhodobé péče, na které dané rozhodnutí navazuje. Nevyplňuje se, když předchozí případ vznikl v zahraničí, tudíž nemá číslo rozhodnutí</xs:documentation>
185                 </xs:annotation>
186             </xs:element>
187             <xs:element name="LekarVystavil" type="ikrmsg:LekarType">
188                 <xs:annotation>
189                     <xs:documentation xml:lang="cs">Identifikace vystavujícího lékaře</xs:documentation>
190                 </xs:annotation>
191             </xs:element>
192         </xs:sequence>
193     </xs:complexType>
194 
195     <xs:complexType name="PripadRpopType">
196         <xs:annotation>
197             <xs:documentation>
198             </xs:documentation>
199         </xs:annotation>
200         <xs:complexContent>
201             <xs:extension base="PripadAbstractNpType">
202                 <xs:sequence>
203                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
204                         <xs:annotation>
205                             <xs:documentation xml:lang="cs">Údaje o ošetřované osobě</xs:documentation>
206                         </xs:annotation>
207                     </xs:element>
208                     <xs:element name="UdajeOsetrovaniPece" type="UdajeOsetrovaniPeceType">
209                         <xs:annotation>
210                             <xs:documentation xml:lang="cs">Příznak, zda se jedná o onemocnění, nařízenou karanténu, nebo nemožnost péče o dítě.</xs:documentation>
211                         </xs:annotation>
212                     </xs:element>
213                     <xs:element name="DatumOd" type="ikrbt:DatumType">
214                         <xs:annotation>
215                             <xs:documentation xml:lang="cs">Datum vzniku potřeby ošetřování/péče</xs:documentation>
216                         </xs:annotation>
217                     </xs:element>
218                     <xs:element name="Hospitalizace" type="HospitalizaceType" minOccurs="0" maxOccurs="unbounded"/>
219                     <xs:element name="TrvaniKeDni" type="ikrbt:DatumType" minOccurs="0">
220                         <xs:annotation>
221                             <xs:documentation xml:lang="cs">Datum, ke kterému trvá potřeba ošetřování/péče</xs:documentation>
222                         </xs:annotation>
223                     </xs:element>
224                     <xs:element name="DatumDo" type="ikrbt:DatumType" minOccurs="0">
225                         <xs:annotation>
226                             <xs:documentation xml:lang="cs">Datum ukončení potřeby ošetřování/péče</xs:documentation>
227                         </xs:annotation>
228                     </xs:element>
229                 </xs:sequence>
230             </xs:extension>
231         </xs:complexContent>
232     </xs:complexType>
233 
234     <xs:complexType name="PripadRpdpType">
235         <xs:annotation>
236             <xs:documentation>
237             </xs:documentation>
238         </xs:annotation>
239         <xs:complexContent>
240             <xs:extension base="PripadAbstractNpType">
241                 <xs:sequence>
242                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
243                         <xs:annotation>
244                             <xs:documentation xml:lang="cs">Údaje o osobě v dlouhodobé péči</xs:documentation>
245                         </xs:annotation>
246                     </xs:element>
247                     <xs:element name="AdresaOsetrovaneOsoby" type="AdresaNpType" minOccurs="0">
248                         <xs:annotation>
249                             <xs:documentation>Adresa osoby v dlouhodobé péči</xs:documentation>
250                         </xs:annotation>
251                     </xs:element>
252                     <xs:element name="DatumOd" type="ikrbt:DatumType" minOccurs="0">
253                         <xs:annotation>
254                             <xs:documentation xml:lang="cs">Datum vzniku potřeby ošetřování/péče</xs:documentation>
255                         </xs:annotation>
256                     </xs:element>
257                     <xs:element name="KodDiagnozy" type="ikrbt:Nazev4Type" minOccurs="0">
258                         <xs:annotation>
259                             <xs:documentation>Kód diagnózy</xs:documentation>
260                         </xs:annotation>
261                     </xs:element>
262                     <xs:element name="Hospitalizace" type="HospitalizaceType" minOccurs="0" maxOccurs="unbounded">
263                         <xs:annotation>
264                             <xs:documentation>Potřeba dlouhodobé péče po ukončení hospitalizace</xs:documentation>
265                         </xs:annotation>
266                     </xs:element>
267 					<xs:element name="TrvaniKeDni" type="ikrbt:DatumType" minOccurs="0">
268                         <xs:annotation>
269                             <xs:documentation xml:lang="cs">Datum, ke kterému trvá potřeba ošetřování/péče</xs:documentation>
270                         </xs:annotation>
271                     </xs:element>
272                     <xs:element name="DatumDo" type="ikrbt:DatumType" minOccurs="0">
273                         <xs:annotation>
274                             <xs:documentation xml:lang="cs">Datum ukončení potřeby ošetřování/péče</xs:documentation>
275                         </xs:annotation>
276                     </xs:element>
277                 </xs:sequence>
278             </xs:extension>
279         </xs:complexContent>
280     </xs:complexType>
281     
282     <xs:complexType name="UkonceniHospitalizacePripadType">
283         <xs:sequence>
284             <xs:element name="TrvaniHospitalizace" type="HospitalizaceType">
285                 <xs:annotation>
286                     <xs:documentation>Trvání hospitalizace od-do</xs:documentation>
287                 </xs:annotation>
288             </xs:element>
289             <xs:element name="KodDiagnozy" type="ikrbt:Nazev4Type">
290                 <xs:annotation>
291                     <xs:documentation>Kód diagnózy</xs:documentation>
292                 </xs:annotation>
293             </xs:element>
294         </xs:sequence>
295     </xs:complexType>
296 
297     <xs:complexType name="PojistenecNpType">
298         <xs:annotation>
299             <xs:documentation xml:lang="cs"></xs:documentation>
300         </xs:annotation>
301         <xs:sequence>
302             <xs:element name="Jmeno" type="ikrbt:Nazev100Type"/>
303             <xs:element name="Prijmeni" type="ikrbt:Nazev100Type"/>
304 			<xs:choice>
305 				<xs:element name="RodneCislo" type="ikrbt:RC_ECPType"/>
306 				<xs:element name="DatumNarozeni" type="ikrbt:DatumType"/>
307 			</xs:choice>
308             <xs:element name="Kontakt" type="KontaktType" minOccurs="0">
309 				<xs:annotation>
310 					<xs:documentation xml:lang="cs">Kontaktní údaje pojištěnce (pro zaslání notifikace)</xs:documentation>
311 				</xs:annotation>
312 			</xs:element>
313         </xs:sequence>
314     </xs:complexType>
315 
316     <xs:complexType name="KontaktType">
317         <xs:annotation>
318             <xs:documentation xml:lang="cs">Kontaktní údaje pojištěnce (pro zaslání notifikace)</xs:documentation>
319         </xs:annotation>
320         <xs:sequence>
321             <xs:element name="Telefon" type="ikrbt:TelefonType" minOccurs="0">
322                 <xs:annotation>
323                     <xs:documentation>Telefonní číslo. Např. "+420603112113"</xs:documentation>
324                 </xs:annotation>
325             </xs:element>
326             <xs:element name="Email" type="ikrbt:EmailType" minOccurs="0">
327 			<xs:annotation>
328                     <xs:documentation>Emailová adresa. Např. "jan.novak@seznam.cz"</xs:documentation>
329                 </xs:annotation>
330             </xs:element>
331         </xs:sequence>
332     </xs:complexType>
333 
334 
335     <xs:complexType name="StavZpracovaniNpType">
336         <xs:annotation>
337             <xs:documentation xml:lang="cs"></xs:documentation>
338         </xs:annotation>
339         <xs:sequence>
340             <xs:element name="StavPodani" type="ikrbt:Nazev8Type">
341                 <xs:annotation>
342                     <xs:documentation>Stav podání</xs:documentation>
343                 </xs:annotation>
344             </xs:element>
345             <xs:element name="Poznamka" type="ikrbt:Text5KViceradkovyType" minOccurs="0">
346                 <xs:annotation>
347                     <xs:documentation>Doplňující informace ke stavu podání</xs:documentation>
348                 </xs:annotation>
349             </xs:element>
350             <xs:element name="CasZmeny" type="ikrbt:DatumCasType"/>
351         </xs:sequence>
352     </xs:complexType>
353 
354 
355     <xs:complexType name="InkurabilniStavType">
356         <xs:annotation>
357             <xs:documentation xml:lang="cs"></xs:documentation>
358         </xs:annotation>
359         <xs:sequence>
360             <xs:element name="KodDiagnozy" type="ikrbt:Nazev4Type">
361                 <xs:annotation>
362                     <xs:documentation>Kód diagnózy pro nenavazující rozhodnutí  (písmeno a 2-3 číslice). Např. "C17"</xs:documentation>
363                 </xs:annotation>
364             </xs:element>
365 			<xs:element name="DatumOd" type="ikrbt:DatumType">
366                 <xs:annotation>
367                     <xs:documentation>Datum vzniku potřeby dlouhodobé péče</xs:documentation>
368                 </xs:annotation>
369             </xs:element>
370             <xs:element name="KontrolaDatum" type="ikrbt:DatumType" minOccurs="0">
371                 <xs:annotation>
372                     <xs:documentation>Datum, do kdy se ošetřovaná osoba dostaví na kontrolu</xs:documentation>
373                 </xs:annotation>
374             </xs:element>
375             <xs:element name="KontrolaLekar" type="PzsType" minOccurs="0">
376                 <xs:annotation>
377                     <xs:documentation>Lékař, ke kterému se ošetřovaná osoba dostaví na kontrolu</xs:documentation>
378                 </xs:annotation>
379             </xs:element>
380         </xs:sequence>
381     </xs:complexType>
382 
383     <xs:complexType name="UkonceniHospitalizaceType">
384         <xs:annotation>
385             <xs:documentation xml:lang="cs"></xs:documentation>
386         </xs:annotation>
387         <xs:sequence>
388             <xs:element name="TrvaniHospitalizace" type="HospitalizaceType">
389                 <xs:annotation>
390                     <xs:documentation>Trvání hospitalizace od-do</xs:documentation>
391                 </xs:annotation>
392             </xs:element>
393 			<xs:element name="KodDiagnozy" type="ikrbt:Nazev4Type">
394                 <xs:annotation>
395                     <xs:documentation>Kód diagnózy (písmeno a 2-3 číslice). Např. "C17"</xs:documentation>
396                 </xs:annotation>
397             </xs:element>
398             <xs:element name="KontrolaDatum" type="ikrbt:DatumType">
399                 <xs:annotation>
400                     <xs:documentation>Datum, do kdy se ošetřovaná osoba dostaví na kontrolu po ukončení hospitalizace</xs:documentation>
401                 </xs:annotation>
402             </xs:element>
403             <xs:element name="KontrolaLekar" type="PzsType" minOccurs="0">
404                 <xs:annotation>
405                     <xs:documentation>Lékař, ke kterému se ošetřovaná osoba dostaví na kontrolu po ukončení hospitalizace</xs:documentation>
406                 </xs:annotation>
407             </xs:element>
408         </xs:sequence>
409     </xs:complexType>
410 
411     <xs:complexType name="PzsType">
412         <xs:annotation>
413             <xs:documentation></xs:documentation>
414         </xs:annotation>
415         <xs:sequence>
416             <xs:element name="NazevPzs" type="ikrbt:Nazev155Type" minOccurs="0"/>
417             <xs:element name="SidloPzs" type="ikrbt:Nazev155Type" minOccurs="0"/>
418             <xs:element name="IczPzs" type="ikrbt:ICZType" minOccurs="0"/>
419         </xs:sequence>
420     </xs:complexType>
421 
422     <xs:complexType name="PredchoziRozhodnutiType">
423         <xs:annotation>
424             <xs:documentation></xs:documentation>
425         </xs:annotation>
426         <xs:sequence>
427             <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType" minOccurs="0">
428                 <xs:annotation>
429                     <xs:documentation>Číslo rozhodnutí o potřebě dlouhodobé péče, na které dané rozhodnutí navazuje. Nevyplňuje se, když předchozí případ vznikl v zahraničí, tudíž nemá číslo rozhodnutí</xs:documentation>
430                 </xs:annotation>
431             </xs:element>
432             <xs:element name="DatumOd" type="ikrbt:DatumType">
433                 <xs:annotation>
434                     <xs:documentation>Datum vzniku potřeby navazující dlouhodobé péče</xs:documentation>
435                 </xs:annotation>
436             </xs:element>
437             <xs:element name="KontrolaDatum" type="ikrbt:DatumType" minOccurs="0">
438                 <xs:annotation>
439                     <xs:documentation>Datum, do kdy se ošetřovaná osoba dostaví na kontrolu</xs:documentation>
440                 </xs:annotation>
441             </xs:element>
442             <xs:element name="KontrolaLekar" type="PzsType" minOccurs="0">
443                 <xs:annotation>
444                     <xs:documentation>Lékař, ke kterému se ošetřovaná osoba dostaví na kontrolu</xs:documentation>
445                 </xs:annotation>
446             </xs:element>
447         </xs:sequence>
448     </xs:complexType>
449 
450     <xs:complexType name="AdresaNpType">
451         <xs:annotation>
452             <xs:documentation xml:lang="cs"></xs:documentation>
453         </xs:annotation>
454         <xs:sequence>
455             <xs:element name="Ulice" type="ikrbt:Nazev100Type" minOccurs="0"/>
456             <xs:element name="CisloPopisne" type="ikrbt:CisloPopisneType"/>
457             <xs:element name="CisloOrientacni" type="ikrbt:CisloOrientacniType" minOccurs="0"/>
458             <xs:element name="NazevObce" type="ikrbt:Nazev100Type"/>
459             <xs:element name="PostovniSmerovaciCislo" type="ikrbt:PSCType"/>
460             <xs:element name="KodStatu" type="ikrbt:Nazev2Type"/>
461 
462         </xs:sequence>
463     </xs:complexType>
464 
465     <xs:complexType name="UdajeOsetrovaniPeceType">
466         <xs:annotation>
467             <xs:documentation xml:lang="cs"></xs:documentation>
468         </xs:annotation>
469         <xs:sequence>
470 			<xs:choice>
471 				<xs:element name="Onemocnela" type="ikrbt:PriznakType">
472 					<xs:annotation>
473 						<xs:documentation>Potřeba ošetřování osoby, protože tato osoba onemocněla, nebo utrpěla úraz, případně její stav bezprostředně po porodu vyžaduje ošetřování jinou osobou</xs:documentation>
474 					</xs:annotation>
475 				</xs:element>
476 				<xs:element name="NarizenaKarantena" type="ikrbt:PriznakType">
477 					<xs:annotation>
478 						<xs:documentation>Potřeba péče o dítě mladší 10 let s nařízenou karanténou</xs:documentation>
479 					</xs:annotation>
480 				</xs:element>
481 				<xs:element name="NemuzePecovatODite" type="ikrbt:PriznakType">
482 					<xs:annotation>
483 						<xs:documentation>Potřeba péče o dítě mladší 10 let, protože pečující osoba onemocněla, utrpěla úraz, porodila, byla jí nařízena karanténa, byla přijata k poskytnutí lůžkové péče, nebo byla přijata jako průvodce nezletilého dítěte přijatého do zdravotnického zařízení, anebo ji byla poskytnuta na základě veřejného zdravotního pojištění komplexní lázeňská léčebně rehabilitační péče, a proto nemůže pečovat o dítě, o které jinak pečuje.</xs:documentation>
484 					</xs:annotation>
485 				</xs:element>
486 			</xs:choice>
487 		</xs:sequence>
488     </xs:complexType>
489 
490     <xs:complexType name="HospitalizaceType">
491         <xs:annotation>
492             <xs:documentation xml:lang="cs"></xs:documentation>
493         </xs:annotation>
494         <xs:sequence>
495             <xs:element name="DatumOd" type="ikrbt:DatumType">
496 			    <xs:annotation>
497                     <xs:documentation>Datum hospitalizace od. Např. 2024-11-22</xs:documentation>
498                 </xs:annotation>
499             </xs:element>
500             <xs:element name="DatumDo" type="ikrbt:DatumType">
501 				<xs:annotation>
502                     <xs:documentation>Datum hospitalizace do. Např. 2024-11-25</xs:documentation>
503                 </xs:annotation>
504             </xs:element>
505         </xs:sequence>
506     </xs:complexType>
507 
508     <xs:complexType name="PodaniAbstractNpType" abstract="true">
509         <xs:annotation>
510             <xs:documentation xml:lang="cs"></xs:documentation>
511         </xs:annotation>
512         <xs:sequence>
513             <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType">
514                 <xs:annotation>
515                     <xs:documentation>Číslo rozhodnutí o NP</xs:documentation>
516                 </xs:annotation>
517             </xs:element>
518             <xs:element name="DatumVystaveni" type="ikrbt:DatumType">
519                 <xs:annotation>
520                     <xs:documentation xml:lang="cs">Datum vystavení podání. Např. 2024-11-22</xs:documentation>
521                 </xs:annotation>
522             </xs:element>
523             <xs:element name="KodOssz" type="ikrbt:KodCiselnikuType">
524 			    <xs:annotation>
525                     <xs:documentation xml:lang="cs">Číslo okresní SSZ. Např. 225</xs:documentation>
526                 </xs:annotation>
527             </xs:element>
528             
529             <xs:element name="LekarVystavil" type="ikrmsg:LekarType">
530                 <xs:annotation>
531                     <xs:documentation xml:lang="cs">Identifikace vystavujícího lékaře</xs:documentation>
532                 </xs:annotation>
533             </xs:element>
534             <xs:element name="OpravnePodani" type="ikrbt:PriznakType" minOccurs="0">
535                 <xs:annotation>
536                     <xs:documentation xml:lang="cs">Příznak opravného podání</xs:documentation>
537                 </xs:annotation>
538             </xs:element>
539         </xs:sequence>
540     </xs:complexType>
541 
542     <xs:complexType name="PodaniRpdp1Type">
543         <xs:annotation>
544             <xs:documentation xml:lang="cs"></xs:documentation>
545         </xs:annotation>
546         <xs:complexContent>
547             <xs:extension base="PodaniAbstractNpType">
548                 <xs:sequence>
549                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
550 						<xs:annotation>
551 							<xs:documentation xml:lang="cs">Údaje o osobě v dlouhodobé péči</xs:documentation>
552 						</xs:annotation>
553 					</xs:element>
554 					<xs:element name="AdresaOsetrovaneOsoby" type="AdresaNpType">
555 						<xs:annotation>
556 							<xs:documentation xml:lang="cs">Trvalá adresa osoby v dlouhodobé péči</xs:documentation>
557 						</xs:annotation>
558 					</xs:element>
559 					<xs:choice>
560 						<xs:element name="InkurabilniStav" type="InkurabilniStavType">
561 							<xs:annotation>
562 								<xs:documentation xml:lang="cs">Potřeba dlouhodobé péče z důvodu inkurabilního stavu</xs:documentation>
563 							</xs:annotation>
564 						</xs:element>
565 						<xs:element name="Hospitalizace" type="UkonceniHospitalizaceType">
566 							<xs:annotation>
567 								<xs:documentation xml:lang="cs">Potřeba dlouhodobé péče po ukončení hospitalizace</xs:documentation>
568 							</xs:annotation>
569 						</xs:element>
570 						<xs:element name="NavazujiciRozhodnuti" type="PredchoziRozhodnutiType">
571 							<xs:annotation>
572 								<xs:documentation xml:lang="cs">Rozhodnutí navazuje na jiné rozhodnutí o potřebě dlouhodobé péče</xs:documentation>
573 							</xs:annotation>
574 						</xs:element>
575 					</xs:choice>
576                 </xs:sequence>
577             </xs:extension>
578         </xs:complexContent>
579     </xs:complexType>
580 
581     <xs:complexType name="PodaniRpdp2Type">
582         <xs:annotation>
583             <xs:documentation xml:lang="cs"></xs:documentation>
584         </xs:annotation>
585         <xs:complexContent>
586             <xs:extension base="PodaniAbstractNpType">
587                 <xs:sequence>
588                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
589 						<xs:annotation>
590 							<xs:documentation xml:lang="cs">Údaje o osobě v dlouhodobé péči</xs:documentation>
591 						</xs:annotation>
592 					</xs:element>
593                     <xs:element name="DatumDo" type="ikrbt:DatumType">
594                         <xs:annotation>
595                             <xs:documentation xml:lang="cs">Datum ukončení potřeby dlouhodobé péče</xs:documentation>
596                         </xs:annotation>
597                     </xs:element>
598                     <xs:element name="KodKonecneDiagnozy" type="ikrbt:Nazev4Type">
599 						<xs:annotation>
600 							<xs:documentation xml:lang="cs">Kód konečné diagnózy (písmeno a 2-3 číslice). Např. "C17"</xs:documentation>
601 						</xs:annotation>
602 					</xs:element>
603                 </xs:sequence>
604             </xs:extension>
605         </xs:complexContent>
606     </xs:complexType>
607 
608 
609     <xs:complexType name="PodaniPdpType">
610         <xs:annotation>
611             <xs:documentation xml:lang="cs">Podání "Potvrzení o datu porodu"</xs:documentation>
612         </xs:annotation>
613         <xs:complexContent>
614             <xs:extension base="PodaniAbstractNpType">
615                 <xs:sequence>
616 					<xs:element name="Pojistenka" type="PojistenecNpType">
617 					    <xs:annotation>
618                             <xs:documentation xml:lang="cs">Údaje o pojištěnce, která porodí či porodila</xs:documentation>
619                         </xs:annotation>
620                     </xs:element>
621 					<xs:choice>
622 						<xs:element name="DatumPorodu" type="ikrbt:DatumType">
623 							<xs:annotation>
624 								<xs:documentation xml:lang="cs">Datum předčasného porodu</xs:documentation>
625 							</xs:annotation>
626 						</xs:element>
627 						<xs:element name="DatumOcekavanehoPorodu" type="ikrbt:DatumType">
628 							<xs:annotation>
629 								<xs:documentation xml:lang="cs">Očekávané datum porodu</xs:documentation>
630 							</xs:annotation>
631 						</xs:element>
632 					</xs:choice>
633                 </xs:sequence>
634             </xs:extension>
635         </xs:complexContent>
636     </xs:complexType>
637 
638     <xs:complexType name="PodaniRpop1Type">
639         <xs:annotation>
640             <xs:documentation xml:lang="cs"></xs:documentation>
641         </xs:annotation>
642         <xs:complexContent>
643             <xs:extension base="PodaniAbstractNpType">
644                 <xs:sequence>
645                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
646 						<xs:annotation>
647 							<xs:documentation xml:lang="cs">Údaje o ošetřované osobě</xs:documentation>
648 						</xs:annotation>
649 					</xs:element>
650                     <xs:element name="UdajeOsetrovaniPece" type="UdajeOsetrovaniPeceType">
651 						<xs:annotation>
652 							<xs:documentation xml:lang="cs">Příznak, zda se jedná o onemocnění, nařízenou karanténu, nebo nemožnost péče o dítě.</xs:documentation>
653 						</xs:annotation>
654 					</xs:element>					
655                     <xs:element name="DatumOd" type="ikrbt:DatumType">
656                         <xs:annotation>
657                             <xs:documentation xml:lang="cs">Datum vzniku potřeby ošetřování/péče</xs:documentation>
658                         </xs:annotation>
659                     </xs:element>
660                 </xs:sequence>
661             </xs:extension>
662         </xs:complexContent>
663     </xs:complexType>
664 
665     <xs:complexType name="PodaniRpop2Type">
666         <xs:annotation>
667             <xs:documentation xml:lang="cs"></xs:documentation>
668         </xs:annotation>
669         <xs:complexContent>
670             <xs:extension base="PodaniRpop1Type">
671                 <xs:sequence>
672                     <xs:element name="DatumDo" type="ikrbt:DatumType">
673                         <xs:annotation>
674                             <xs:documentation xml:lang="cs">Datum ukončení potřeby ošetřování/péče</xs:documentation>
675                         </xs:annotation>
676                     </xs:element>
677                 </xs:sequence>
678             </xs:extension>
679         </xs:complexContent>
680     </xs:complexType>
681 
682     <xs:complexType name="PodaniPtNpType">
683         <xs:annotation>
684             <xs:documentation xml:lang="cs"></xs:documentation>
685         </xs:annotation>
686         <xs:complexContent>
687             <xs:extension base="PodaniAbstractNpType">
688                 <xs:sequence>
689                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
690 					    <xs:annotation>
691                             <xs:documentation xml:lang="cs">Údaje o ošetřované osobě</xs:documentation>
692                         </xs:annotation>
693 					</xs:element>
694                     <xs:element name="DatumKeDni" type="ikrbt:DatumType">
695                         <xs:annotation>
696                             <xs:documentation xml:lang="cs">Datum, ke kterému trvá potřeba ošetřování/péče/dlouhodobé péče</xs:documentation>
697                         </xs:annotation>
698                     </xs:element>
699                     <xs:element name="KontrolaDatum" type="ikrbt:DatumType" minOccurs="0">
700 					    <xs:annotation>
701                             <xs:documentation xml:lang="cs">Datum příští lékařské kontroly</xs:documentation>
702                         </xs:annotation>
703 					</xs:element>
704                 </xs:sequence>
705             </xs:extension>
706         </xs:complexContent>
707     </xs:complexType>
708 
709     <xs:complexType name="PodaniPhdzdType">
710         <xs:annotation>
711             <xs:documentation xml:lang="cs"></xs:documentation>
712         </xs:annotation>
713         <xs:complexContent>
714             <xs:extension base="PodaniAbstractNpType">
715                 <xs:sequence>
716                     <xs:element name="Dite" type="PojistenecNpType">
717 					    <xs:annotation>
718                             <xs:documentation xml:lang="cs">Údaje o dítěti, které bylo hospitalizováno</xs:documentation>
719                         </xs:annotation>
720                     </xs:element>
721 					<xs:element name="HospitalizaceDitete" type="HospitalizaceType" minOccurs="1"   maxOccurs="unbounded">
722 						<xs:annotation>
723                             <xs:documentation xml:lang="cs">Trvání hospitalizace dítěte</xs:documentation>
724                         </xs:annotation>
725                     </xs:element>
726                 </xs:sequence>
727             </xs:extension>
728         </xs:complexContent>
729     </xs:complexType>
730 
731     <xs:complexType name="PodaniHolNpType">
732         <xs:annotation>
733             <xs:documentation xml:lang="cs"></xs:documentation>
734         </xs:annotation>
735         <xs:complexContent>
736             <xs:extension base="PodaniAbstractNpType">
737                 <xs:sequence>
738                     <xs:element name="OsetrovanaOsoba" type="PojistenecNpType">
739                         <xs:annotation>
740                             <xs:documentation xml:lang="cs">Údaje o ošetřované osobě</xs:documentation>
741                         </xs:annotation>
742                     </xs:element>
743 					<xs:choice minOccurs="0">
744 						<xs:element name="PredaniDoPece" type="ikrmsg:PredaniDoPeceType" minOccurs="0">
745 							<xs:annotation>
746 								<xs:documentation xml:lang="cs">Propuštění ošetřované osoby ze své péče</xs:documentation>
747 							</xs:annotation>
748 						</xs:element>
749 						<xs:element name="PrevzetiDoPece" type="ikrmsg:PrevzetiDoPeceType" minOccurs="0">
750 							<xs:annotation>
751 								<xs:documentation xml:lang="cs">Převzetí ošetřované osoby z péče jiného ošetřujícího lékaře do své péče</xs:documentation>
752 							</xs:annotation>
753 						</xs:element>
754 					</xs:choice>
755                     <xs:element name="ZmenaHospitalizace" type="ikrmsg:ZmenaHospitalizaceType" minOccurs="0">
756                         <xs:annotation>
757                             <xs:documentation xml:lang="cs">Změna hospitalizace</xs:documentation>
758                         </xs:annotation>
759                     </xs:element>
760                     <xs:element name="ZmenaDiagnozy" type="ikrmsg:ZmenaDiagnozyType" minOccurs="0">
761                         <xs:annotation>
762                             <xs:documentation xml:lang="cs">Změna diagnózy při dlouhodobém ošetřovném</xs:documentation>
763                         </xs:annotation>
764                     </xs:element>
765                 </xs:sequence>
766             </xs:extension>
767         </xs:complexContent>
768     </xs:complexType>
769 
770 
771     <xs:simpleType name="KodIkreSluzbyType">
772 		<xs:annotation>
773 			<xs:documentation xml:lang="cs">Kód externí služby, výčtový typ všech externích služeb IKR.</xs:documentation>
774 		</xs:annotation>
775     <xs:restriction base="ikrmsg:IdentifikatorType">
776         <xs:enumeration value="IkreNpGenerujCisloRozhodnuti"/>
777 
778         <xs:enumeration value="IkreNpPripravPodaniRpdp1"/>
779         <xs:enumeration value="IkreNpPripravPodaniRpdp2"/>
780         <xs:enumeration value="IkreNpPripravPodaniPdp"/>
781         <xs:enumeration value="IkreNpPripravPodaniRpop1"/>
782         <xs:enumeration value="IkreNpPripravPodaniRpop2"/>
783         <xs:enumeration value="IkreNpPripravPodaniPtNp"/>
784         <xs:enumeration value="IkreNpPripravPodaniPhdzd"/>
785         <xs:enumeration value="IkreNpPripravPodaniHolNp"/>
786 
787         <xs:enumeration value="IkreNpVratPodaniDleIcpe"/>
788         <xs:enumeration value="IkreNpVratPodaniDleRc"/>
789         <xs:enumeration value="IkreNpVratPodaniDleCislaRozhodnuti"/>
790         <xs:enumeration value="IkreNpVratDetailPodani"/>
791         <xs:enumeration value="IkreNpVratDetailPripadu"/>
792         <xs:enumeration value="IkreNpVratDetailPodaniDleId"/>
793 		
794         <xs:enumeration value="IkreNpVratNeukonceneNpDleRc"/>
795         <xs:enumeration value="IkreNpVratNeukonceneNpDleCislaRozhodnuti"/>
796 
797         <xs:enumeration value="IkreVratDzNpDleCislaRozhodnuti"/>
798         <xs:enumeration value="IkreVratDzNpZaObdobi"/>
799         <xs:enumeration value="IkrVratDzNpDleCislaRozhodnutiSeznam"/>
800         <xs:enumeration value="IkreVratDzNpDetailPodani"/>
801 		
802 		<xs:enumeration value="IkreNpVytvorNotifikaci"/>
803 		
804         <xs:enumeration value="IkreNpStornoPodani"/>
805         <xs:enumeration value="IkreNpPridejDoHistorie"/>
806         <xs:enumeration value="IkreNpVratZHistorie"/>
807             
808     </xs:restriction>
809     </xs:simpleType>
810 
811     <xs:simpleType name="DruhDavkyNpType">
812         <xs:annotation>
813             <xs:documentation xml:lang="cs">Identifikace druhu dávky NP</xs:documentation>
814         </xs:annotation>
815         <xs:restriction base="ikrbt:KodCiselnikuType">
816             <xs:enumeration value="M"/>
817             <xs:enumeration value="T"/>
818             <xs:enumeration value="N"/>
819             <xs:enumeration value="L"/>
820             <xs:enumeration value="Z"/>
821         </xs:restriction>
822     </xs:simpleType>
823 
824     <xs:complexType name="NotifikaceNpType">
825         <xs:annotation>
826             <xs:documentation>
827 
828             </xs:documentation>
829         </xs:annotation>
830         <xs:sequence>
831             <xs:element name="NotifikaceId" type="ikrbt:MaxCisloType">
832                 <xs:annotation>
833                     <xs:documentation xml:lang="cs">Identifikace notifikace</xs:documentation>
834                 </xs:annotation>
835             </xs:element>
836             <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiNpType">
837                 <xs:annotation>
838                     <xs:documentation>Číslo rozhodnutí</xs:documentation>
839                 </xs:annotation>
840             </xs:element>
841             <xs:element name="TypPodani" type="ikrmsg:TypPodaniNpType">
842                 <xs:annotation>
843                     <xs:documentation xml:lang="cs">Typ elektronického podání (např. PDP, PHDZD, RPOP1, RPOP2, RPDP1, RPDP2, HOLNP, PTNP)</xs:documentation>
844                 </xs:annotation>
845             </xs:element>
846 			<xs:choice>
847 				<xs:element name="ZmenaStavuPodani" type="ikrmsg:ZmenaStavuPodaniType" minOccurs="1">
848 					<xs:annotation>
849 						<xs:documentation>Informace o změně stavu podání</xs:documentation>
850 					</xs:annotation>
851 				</xs:element>
852 				<xs:element name="ZmenaPripadu" type="ikrmsg:ZmenaUdajuPripaduType" minOccurs="1" maxOccurs="unbounded">
853 					<xs:annotation>
854 						<xs:documentation>Informace o změně stavu případu</xs:documentation>
855 					</xs:annotation>
856 				</xs:element>
857 				<xs:element name="ZmenaPrevzeti" type="ikrmsg:ZmenaPrevzetiType" minOccurs="1">
858 					<xs:annotation>
859 						<xs:documentation>Informace o změně převzetí (na základě přijetí HOL o převzetí)</xs:documentation>
860 					</xs:annotation>
861 				</xs:element>
862 			</xs:choice>
863         </xs:sequence>
864     </xs:complexType>
865 
866 </xs:schema>