1 |
<?xml version="1.0" encoding="UTF-8"?> |
= |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:das="https://www.das-pflege.de" elementFormDefault="qualified" vc:minVersion="1.1" xpathDefaultNamespace="##targetNamespace"> |
|
2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:das="https://www.das-pflege.de" elementFormDefault="qualified" vc:minVersion="1.1" xpathDefaultNamespace="##targetNamespace"> |
3 |
<xs:include schemaLocation="das_qs_datatypes.xsd"/> |
|
3 |
<xs:include schemaLocation="das_qs_datatypes.xsd"/> |
4 |
<xs:complexType name="das_qs_data_mds_type"> |
|
4 |
<xs:complexType name="das_qs_data_mds_type"> |
5 |
<xs:annotation> |
|
5 |
<xs:annotation> |
6 |
<xs:documentation>Erhebungsbogen zur Erfassung von Versorgungsergebnissen der |
|
6 |
<xs:documentation>Erhebungsbogen zur Erfassung von Versorgungsergebnissen der |
7 |
stationären Langzeitpflege sofern ein Ausschlussgrund vorliegt = Minimaldatensatz (MDS)</xs:documentation> |
|
7 |
stationären Langzeitpflege sofern ein Ausschlussgrund vorliegt = Minimaldatensatz (MDS)</xs:documentation> |
8 |
</xs:annotation> |
|
8 |
</xs:annotation> |
9 |
<xs:sequence> |
|
9 |
<xs:sequence> |
10 |
<xs:element name="IDBEWOHNER"> |
|
10 |
<xs:element name="IDBEWOHNER"> |
11 |
<xs:annotation> |
|
11 |
<xs:annotation> |
12 |
<xs:documentation>Bewohnerbezogene Nummer</xs:documentation> |
|
12 |
<xs:documentation>Bewohnerbezogene Nummer</xs:documentation> |
13 |
<xs:appinfo> |
|
13 |
<xs:appinfo> |
14 |
<das:ref_number>1</das:ref_number> |
<> |
14 |
<das:ref_number>3</das:ref_number> |
15 |
<das:caption_id>1</das:caption_id> |
= |
15 |
<das:caption_id>1</das:caption_id> |
16 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
16 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
17 |
</xs:appinfo> |
|
17 |
</xs:appinfo> |
18 |
</xs:annotation> |
|
18 |
</xs:annotation> |
19 |
<xs:complexType> |
|
19 |
<xs:complexType> |
20 |
<xs:attribute name="value" use="required"> |
|
20 |
<xs:attribute name="value" use="required"> |
21 |
<xs:simpleType> |
|
21 |
<xs:simpleType> |
22 |
<xs:restriction base="xs:string"> |
|
22 |
<xs:restriction base="xs:string"> |
23 |
<xs:pattern value="[0-9]{6}"/> |
|
23 |
<xs:pattern value="[0-9]{6}"/> |
24 |
</xs:restriction> |
|
24 |
</xs:restriction> |
25 |
</xs:simpleType> |
|
25 |
</xs:simpleType> |
26 |
</xs:attribute> |
|
26 |
</xs:attribute> |
27 |
</xs:complexType> |
|
27 |
</xs:complexType> |
28 |
</xs:element> |
|
28 |
</xs:element> |
29 |
<xs:element name="WOHNBEREICH"> |
|
29 |
<xs:element name="WOHNBEREICH"> |
30 |
<xs:annotation> |
|
30 |
<xs:annotation> |
31 |
<xs:documentation>Wohnbereich</xs:documentation> |
|
31 |
<xs:documentation>Wohnbereich</xs:documentation> |
32 |
<xs:appinfo> |
|
32 |
<xs:appinfo> |
33 |
<das:ref_number>2</das:ref_number> |
|
33 |
<das:ref_number>2</das:ref_number> |
34 |
<das:caption_id>1</das:caption_id> |
|
34 |
<das:caption_id>1</das:caption_id> |
35 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
35 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
36 |
</xs:appinfo> |
|
36 |
</xs:appinfo> |
37 |
</xs:annotation> |
|
37 |
</xs:annotation> |
38 |
<xs:complexType> |
|
38 |
<xs:complexType> |
39 |
<xs:attribute name="value" type="enum_wohnbereich_type" use="optional"/> |
<> |
39 |
<xs:attribute name="value" use="optional"> |
|
|
|
40 |
<xs:simpleType> |
|
|
|
41 |
<xs:restriction base="xs:string"> |
|
|
|
42 |
<xs:maxLength value="255"/> |
|
|
|
43 |
</xs:restriction> |
|
|
|
44 |
</xs:simpleType> |
|
|
|
45 |
</xs:attribute> |
40 |
</xs:complexType> |
= |
46 |
</xs:complexType> |
41 |
</xs:element> |
|
47 |
</xs:element> |
42 |
<xs:element name="ERHEBUNGSDATUM"> |
|
48 |
<xs:element name="ERHEBUNGSDATUM"> |
43 |
<xs:annotation> |
|
49 |
<xs:annotation> |
44 |
<xs:documentation>Datum der Ergebniserfassung</xs:documentation> |
|
50 |
<xs:documentation>Datum der Ergebniserfassung</xs:documentation> |
45 |
<xs:appinfo> |
|
51 |
<xs:appinfo> |
46 |
<das:ref_number>3</das:ref_number> |
<> |
52 |
<das:ref_number>4</das:ref_number> |
47 |
<das:caption_id>1</das:caption_id> |
= |
53 |
<das:caption_id>1</das:caption_id> |
48 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
54 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
49 |
</xs:appinfo> |
|
55 |
</xs:appinfo> |
50 |
</xs:annotation> |
|
56 |
</xs:annotation> |
51 |
<xs:complexType> |
|
57 |
<xs:complexType> |
52 |
<xs:attribute name="value" type="xs:date" use="required"/> |
|
58 |
<xs:attribute name="value" type="xs:date" use="required"/> |
53 |
</xs:complexType> |
|
59 |
</xs:complexType> |
54 |
</xs:element> |
|
60 |
</xs:element> |
55 |
<xs:element name="EINZUGSDATUM"> |
|
61 |
<xs:element name="EINZUGSDATUM"> |
56 |
<xs:annotation> |
|
62 |
<xs:annotation> |
57 |
<xs:documentation>Datum des Einzugs (Beginn der vollstationären Langzeitpflege)</xs:documentation> |
<> |
63 |
<xs:documentation>Datum des Einzugs (Beginn der vollstationären Versorgung)</xs:documentation> |
58 |
<xs:appinfo> |
= |
64 |
<xs:appinfo> |
59 |
<das:ref_number>4</das:ref_number> |
<> |
65 |
<das:ref_number>5</das:ref_number> |
60 |
<das:caption_id>1</das:caption_id> |
= |
66 |
<das:caption_id>1</das:caption_id> |
61 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
67 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
62 |
</xs:appinfo> |
|
68 |
</xs:appinfo> |
63 |
</xs:annotation> |
|
69 |
</xs:annotation> |
64 |
<xs:complexType> |
|
70 |
<xs:complexType> |
65 |
<xs:attribute name="value" type="xs:date" use="optional"/> |
|
71 |
<xs:attribute name="value" type="xs:date" use="optional"/> |
66 |
</xs:complexType> |
|
72 |
</xs:complexType> |
67 |
</xs:element> |
|
73 |
</xs:element> |
68 |
<xs:element name="GEBURTSMONAT"> |
|
74 |
<xs:element name="GEBURTSMONAT"> |
69 |
<xs:annotation> |
|
75 |
<xs:annotation> |
70 |
<xs:documentation>Geburtsmonat</xs:documentation> |
|
76 |
<xs:documentation>Geburtsmonat</xs:documentation> |
71 |
<xs:appinfo> |
|
77 |
<xs:appinfo> |
72 |
<das:ref_number>5</das:ref_number> |
<> |
78 |
<das:ref_number>6</das:ref_number> |
73 |
<das:caption_id>1</das:caption_id> |
= |
79 |
<das:caption_id>1</das:caption_id> |
74 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
80 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
75 |
</xs:appinfo> |
|
81 |
</xs:appinfo> |
76 |
</xs:annotation> |
|
82 |
</xs:annotation> |
77 |
<xs:complexType> |
|
83 |
<xs:complexType> |
78 |
<xs:attribute name="value" type="enum_monat_type" use="required"/> |
|
84 |
<xs:attribute name="value" type="enum_monat_type" use="required"/> |
79 |
</xs:complexType> |
|
85 |
</xs:complexType> |
80 |
</xs:element> |
|
86 |
</xs:element> |
81 |
<xs:element name="GEBURTSJAHR"> |
|
87 |
<xs:element name="GEBURTSJAHR"> |
82 |
<xs:annotation> |
|
88 |
<xs:annotation> |
83 |
<xs:documentation>Geburtsjahr</xs:documentation> |
|
89 |
<xs:documentation>Geburtsjahr</xs:documentation> |
84 |
<xs:appinfo> |
|
90 |
<xs:appinfo> |
85 |
<das:ref_number>6</das:ref_number> |
<> |
91 |
<das:ref_number>7</das:ref_number> |
86 |
<das:caption_id>1</das:caption_id> |
= |
92 |
<das:caption_id>1</das:caption_id> |
87 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
93 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
88 |
</xs:appinfo> |
|
94 |
</xs:appinfo> |
89 |
</xs:annotation> |
|
95 |
</xs:annotation> |
90 |
<xs:complexType> |
|
96 |
<xs:complexType> |
91 |
<xs:attribute name="value" use="required"> |
|
97 |
<xs:attribute name="value" use="required"> |
92 |
<xs:simpleType> |
|
98 |
<xs:simpleType> |
93 |
<xs:restriction base="xs:gYear"> |
|
99 |
<xs:restriction base="xs:gYear"> |
94 |
<xs:minInclusive value="1900"/> |
|
100 |
<xs:minInclusive value="1900"/> |
95 |
</xs:restriction> |
|
101 |
</xs:restriction> |
96 |
</xs:simpleType> |
|
102 |
</xs:simpleType> |
97 |
</xs:attribute> |
|
103 |
</xs:attribute> |
98 |
</xs:complexType> |
|
104 |
</xs:complexType> |
99 |
</xs:element> |
|
105 |
</xs:element> |
|
|
-+ |
106 |
<xs:element name="GESCHLECHT"> |
|
|
|
107 |
<xs:annotation> |
|
|
|
108 |
<xs:documentation>Geschlecht</xs:documentation> |
|
|
|
109 |
<xs:appinfo> |
|
|
|
110 |
<das:ref_number>8</das:ref_number> |
|
|
|
111 |
<das:caption_id>1</das:caption_id> |
|
|
|
112 |
<das:caption_header>Allgemeine Angaben</das:caption_header> |
|
|
|
113 |
</xs:appinfo> |
|
|
|
114 |
</xs:annotation> |
|
|
|
115 |
<xs:complexType> |
|
|
|
116 |
<xs:attribute name="value" type="enum_geschlecht_type" use="required"/> |
|
|
|
117 |
</xs:complexType> |
|
|
|
118 |
</xs:element> |
100 |
<xs:element name="AUSSCHLUSSGRUND"> |
= |
119 |
<xs:element name="AUSSCHLUSSGRUND"> |
101 |
<xs:annotation> |
|
120 |
<xs:annotation> |
102 |
<xs:documentation>Ausschlussgrund</xs:documentation> |
|
121 |
<xs:documentation>Ausschlussgrund</xs:documentation> |
103 |
<xs:appinfo> |
|
122 |
<xs:appinfo> |
104 |
<das:ref_number>7</das:ref_number> |
<> |
123 |
<das:caption_id>15</das:caption_id> |
|
|
|
124 |
<das:caption_header>Angabe des Auschlussgrundes</das:caption_header> |
105 |
</xs:appinfo> |
= |
125 |
</xs:appinfo> |
106 |
</xs:annotation> |
|
126 |
</xs:annotation> |
107 |
<xs:complexType> |
|
127 |
<xs:complexType> |
108 |
<xs:attribute name="value" type="enum_ausschlussgrund_type" use="required"/> |
|
128 |
<xs:attribute name="value" type="enum_ausschlussgrund_type" use="required"/> |
109 |
</xs:complexType> |
|
129 |
</xs:complexType> |
110 |
</xs:element> |
|
130 |
</xs:element> |
111 |
</xs:sequence> |
|
131 |
</xs:sequence> |
112 |
<xs:assert test="if(not(exists(IDBEWOHNER/@value)) or string-length(xs:string(IDBEWOHNER/@value)) = 0 or xs:string(IDBEWOHNER/@value) = '') then false() else true()"> |
|
132 |
<xs:assert test="if(not(exists(IDBEWOHNER/@value)) or string-length(xs:string(IDBEWOHNER/@value)) = 0 or xs:string(IDBEWOHNER/@value) = '') then false() else true()"> |
113 |
<xs:annotation> |
|
133 |
<xs:annotation> |
114 |
<xs:appinfo> |
|
134 |
<xs:appinfo> |
115 |
<das:rule_id value="10001"/> |
|
135 |
<das:rule_id value="10001"/> |
116 |
<das:rule_text value="Im Pflichtfeld [1: 'Bewohnerbezogene Nummer'] ist kein Wert angegeben"/> |
<> |
136 |
<das:rule_text value="Das Datenfeld 'Bewohnerbezogene Nummer' ist nicht ausgefüllt"/> |
117 |
<das:rule_type value="ERROR"/> |
= |
137 |
<das:rule_type value="ERROR"/> |
118 |
<das:rule_fields> |
|
138 |
<das:rule_fields> |
119 |
<das:field value="IDBEWOHNER"/> |
|
139 |
<das:field value="IDBEWOHNER"/> |
120 |
</das:rule_fields> |
|
140 |
</das:rule_fields> |
121 |
</xs:appinfo> |
|
141 |
</xs:appinfo> |
122 |
</xs:annotation> |
|
142 |
</xs:annotation> |
123 |
</xs:assert> |
|
143 |
</xs:assert> |
124 |
<xs:assert test="if(not(exists(ERHEBUNGSDATUM/@value)) or string-length(xs:string(ERHEBUNGSDATUM/@value)) = 0 or xs:string(ERHEBUNGSDATUM/@value) = '') then false() else true()"> |
|
144 |
<xs:assert test="if(not(exists(ERHEBUNGSDATUM/@value)) or string-length(xs:string(ERHEBUNGSDATUM/@value)) = 0 or xs:string(ERHEBUNGSDATUM/@value) = '') then false() else true()"> |
125 |
<xs:annotation> |
|
145 |
<xs:annotation> |
126 |
<xs:appinfo> |
|
146 |
<xs:appinfo> |
127 |
<das:rule_id value="10003"/> |
|
147 |
<das:rule_id value="10003"/> |
128 |
<das:rule_text value="Im Pflichtfeld [3: 'Datum der Ergebniserfassung'] ist kein Wert angegeben"/> |
<> |
148 |
<das:rule_text value="Das Datenfeld 'Datum der Erhebung' ist nicht ausgefüllt"/> |
129 |
<das:rule_type value="ERROR"/> |
= |
149 |
<das:rule_type value="ERROR"/> |
130 |
<das:rule_fields> |
|
150 |
<das:rule_fields> |
131 |
<das:field value="ERHEBUNGSDATUM"/> |
|
151 |
<das:field value="ERHEBUNGSDATUM"/> |
132 |
</das:rule_fields> |
|
152 |
</das:rule_fields> |
133 |
</xs:appinfo> |
|
153 |
</xs:appinfo> |
134 |
</xs:annotation> |
|
154 |
</xs:annotation> |
135 |
</xs:assert> |
|
155 |
</xs:assert> |
136 |
<xs:assert test="if(not(exists(GEBURTSMONAT/@value)) or string-length(xs:string(GEBURTSMONAT/@value)) = 0 or xs:string(GEBURTSMONAT/@value) = '') then false() else true()"> |
|
156 |
<xs:assert test="if(not(exists(GEBURTSMONAT/@value)) or string-length(xs:string(GEBURTSMONAT/@value)) = 0 or xs:string(GEBURTSMONAT/@value) = '') then false() else true()"> |
137 |
<xs:annotation> |
|
157 |
<xs:annotation> |
138 |
<xs:appinfo> |
|
158 |
<xs:appinfo> |
139 |
<das:rule_id value="10005"/> |
|
159 |
<das:rule_id value="10005"/> |
140 |
<das:rule_text value="Im Pflichtfeld [5: 'Geburtsmonat'] ist kein Wert angegeben"/> |
<> |
160 |
<das:rule_text value="Das Datenfeld 'Geburtsmonat' ist nicht ausgefüllt"/> |
141 |
<das:rule_type value="ERROR"/> |
= |
161 |
<das:rule_type value="ERROR"/> |
142 |
<das:rule_fields> |
|
162 |
<das:rule_fields> |
143 |
<das:field value="GEBURTSMONAT"/> |
|
163 |
<das:field value="GEBURTSMONAT"/> |
144 |
</das:rule_fields> |
|
164 |
</das:rule_fields> |
145 |
</xs:appinfo> |
|
165 |
</xs:appinfo> |
146 |
</xs:annotation> |
|
166 |
</xs:annotation> |
147 |
</xs:assert> |
|
167 |
</xs:assert> |
148 |
<xs:assert test="if(not(exists(GEBURTSJAHR/@value)) or string-length(xs:string(GEBURTSJAHR/@value)) = 0 or xs:string(GEBURTSJAHR/@value) = '') then false() else true()"> |
|
168 |
<xs:assert test="if(not(exists(GEBURTSJAHR/@value)) or string-length(xs:string(GEBURTSJAHR/@value)) = 0 or xs:string(GEBURTSJAHR/@value) = '') then false() else true()"> |
149 |
<xs:annotation> |
|
169 |
<xs:annotation> |
150 |
<xs:appinfo> |
|
170 |
<xs:appinfo> |
151 |
<das:rule_id value="10006"/> |
|
171 |
<das:rule_id value="10006"/> |
152 |
<das:rule_text value="Im Pflichtfeld [6: 'Geburtsjahr'] ist kein Wert angegeben"/> |
<> |
172 |
<das:rule_text value="Das Datenfeld 'Geburtsjahr' ist nicht ausgefüllt"/> |
153 |
<das:rule_type value="ERROR"/> |
= |
173 |
<das:rule_type value="ERROR"/> |
154 |
<das:rule_fields> |
|
174 |
<das:rule_fields> |
155 |
<das:field value="GEBURTSJAHR"/> |
|
175 |
<das:field value="GEBURTSJAHR"/> |
|
|
-+ |
176 |
</das:rule_fields> |
|
|
|
177 |
</xs:appinfo> |
|
|
|
178 |
</xs:annotation> |
|
|
|
179 |
</xs:assert> |
|
|
|
180 |
<xs:assert test="if(not(exists(GESCHLECHT/@value)) or string-length(xs:string(GESCHLECHT/@value)) = 0 or xs:string(GESCHLECHT/@value) = '') then false() else true()"> |
|
|
|
181 |
<xs:annotation> |
|
|
|
182 |
<xs:appinfo> |
|
|
|
183 |
<das:rule_id value="10007"/> |
|
|
|
184 |
<das:rule_text value="Das Datenfeld 'Geschlecht' ist nicht ausgefüllt"/> |
|
|
|
185 |
<das:rule_type value="ERROR"/> |
|
|
|
186 |
<das:rule_fields> |
|
|
|
187 |
<das:field value="GESCHLECHT"/> |
156 |
</das:rule_fields> |
= |
188 |
</das:rule_fields> |
157 |
</xs:appinfo> |
|
189 |
</xs:appinfo> |
158 |
</xs:annotation> |
|
190 |
</xs:annotation> |
159 |
</xs:assert> |
|
191 |
</xs:assert> |
160 |
<xs:assert test="if(not(exists(AUSSCHLUSSGRUND/@value)) or string-length(xs:string(AUSSCHLUSSGRUND/@value)) = 0 or xs:string(AUSSCHLUSSGRUND/@value) = '') then false() else true()"> |
|
192 |
<xs:assert test="if(not(exists(AUSSCHLUSSGRUND/@value)) or string-length(xs:string(AUSSCHLUSSGRUND/@value)) = 0 or xs:string(AUSSCHLUSSGRUND/@value) = '') then false() else true()"> |
161 |
<xs:annotation> |
|
193 |
<xs:annotation> |
162 |
<xs:appinfo> |
|
194 |
<xs:appinfo> |
163 |
<das:rule_id value="10060"/> |
|
195 |
<das:rule_id value="10060"/> |
164 |
<das:rule_text value="Im Pflichtfeld ['Ausschlussgrund'] ist kein Wert angegeben"/> |
<> |
196 |
<das:rule_text value="Das Datenfeld 'Ausschlussgrund' ist nicht ausgefüllt"/> |
165 |
<das:rule_type value="ERROR"/> |
= |
197 |
<das:rule_type value="ERROR"/> |
166 |
<das:rule_fields> |
|
198 |
<das:rule_fields> |
167 |
<das:field value="AUSSCHLUSSGRUND"/> |
|
199 |
<das:field value="AUSSCHLUSSGRUND"/> |
168 |
</das:rule_fields> |
|
200 |
</das:rule_fields> |
169 |
</xs:appinfo> |
|
201 |
</xs:appinfo> |
170 |
</xs:annotation> |
|
202 |
</xs:annotation> |
171 |
</xs:assert> |
|
203 |
</xs:assert> |
172 |
<xs:assert test="if(exists(GEBURTSMONAT/@value) and not(xs:string(GEBURTSMONAT/@value) = ('1','2','3','4','5','6','7','8','9','10','11','12'))) then false() else true()"> |
|
204 |
<xs:assert test="if(exists(GEBURTSMONAT/@value) and not(xs:string(GEBURTSMONAT/@value) = ('1','2','3','4','5','6','7','8','9','10','11','12'))) then false() else true()"> |
173 |
<xs:annotation> |
|
205 |
<xs:annotation> |
174 |
<xs:appinfo> |
|
206 |
<xs:appinfo> |
175 |
<das:rule_id value="20001"/> |
|
207 |
<das:rule_id value="20001"/> |
176 |
<das:rule_text value="Der Wert des Datenfeldes [5: 'Geburtsmonat'] entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte = 1 bis 12"/> |
<> |
208 |
<das:rule_text value="Der Wert des Datenfeldes 'Geburtsmonat' entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte: '1','2','3','4','5','6','7','8','9','10','11','12'"/> |
177 |
<das:rule_type value="ERROR"/> |
= |
209 |
<das:rule_type value="ERROR"/> |
178 |
<das:rule_fields> |
|
210 |
<das:rule_fields> |
179 |
<das:field value="GEBURTSMONAT"/> |
|
211 |
<das:field value="GEBURTSMONAT"/> |
|
|
-+ |
212 |
</das:rule_fields> |
|
|
|
213 |
</xs:appinfo> |
|
|
|
214 |
</xs:annotation> |
|
|
|
215 |
</xs:assert> |
|
|
|
216 |
<xs:assert test="if(exists(GESCHLECHT/@value) and not(xs:string(GESCHLECHT/@value) = ('1','2'))) then false() else true()"> |
|
|
|
217 |
<xs:annotation> |
|
|
|
218 |
<xs:appinfo> |
|
|
|
219 |
<das:rule_id value="20002"/> |
|
|
|
220 |
<das:rule_text value="Der Wert des Datenfeldes 'Geschlecht' entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte: '1','2'"/> |
|
|
|
221 |
<das:rule_type value="ERROR"/> |
|
|
|
222 |
<das:rule_fields> |
|
|
|
223 |
<das:field value="GESCHLECHT"/> |
180 |
</das:rule_fields> |
= |
224 |
</das:rule_fields> |
181 |
</xs:appinfo> |
|
225 |
</xs:appinfo> |
182 |
</xs:annotation> |
|
226 |
</xs:annotation> |
183 |
</xs:assert> |
|
227 |
</xs:assert> |
184 |
<xs:assert test="if(exists(AUSSCHLUSSGRUND/@value) and not(xs:string(AUSSCHLUSSGRUND/@value) = ('1','2','3','4'))) then false() else true()"> |
|
228 |
<xs:assert test="if(exists(AUSSCHLUSSGRUND/@value) and not(xs:string(AUSSCHLUSSGRUND/@value) = ('1','2','3','4'))) then false() else true()"> |
185 |
<xs:annotation> |
|
229 |
<xs:annotation> |
186 |
<xs:appinfo> |
|
230 |
<xs:appinfo> |
187 |
<das:rule_id value="20072"/> |
|
231 |
<das:rule_id value="20072"/> |
188 |
<das:rule_text value="Der Wert des Datenfeldes ['Ausschlussgrund'] entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte = 1, 2, 3 oder 4"/> |
<> |
232 |
<das:rule_text value="Der Wert des Datenfeldes 'Ausschlussgrund' entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte: '1','2','3','4'"/> |
189 |
<das:rule_type value="ERROR"/> |
= |
233 |
<das:rule_type value="ERROR"/> |
190 |
<das:rule_fields> |
|
234 |
<das:rule_fields> |
191 |
<das:field value="AUSSCHLUSSGRUND"/> |
|
235 |
<das:field value="AUSSCHLUSSGRUND"/> |
192 |
</das:rule_fields> |
+- |
|
|
193 |
</xs:appinfo> |
|
|
|
194 |
</xs:annotation> |
|
|
|
195 |
</xs:assert> |
|
|
|
196 |
<xs:assert test="if(exists(WOHNBEREICH/@value) and not(matches(WOHNBEREICH/@value, '^WB_([1-9]|[1-9][0-9])$'))) then false() else true()"> |
|
|
|
197 |
<xs:annotation> |
|
|
|
198 |
<xs:appinfo> |
|
|
|
199 |
<das:rule_id value="20073"/> |
|
|
|
200 |
<das:rule_text value="Der Wert des Datenfeldes [2: 'Wohnbereich'] entspricht keinem der für dieses Datenfeld gültigen Schlüsselwerte: 'WB_' + [1 bis 99]"/> |
|
|
|
201 |
<das:rule_type value="ERROR"/> |
|
|
|
202 |
<das:rule_fields> |
|
|
|
203 |
<das:field value="WOHNBEREICH"/> |
|
|
|
204 |
</das:rule_fields> |
= |
236 |
</das:rule_fields> |
205 |
</xs:appinfo> |
|
237 |
</xs:appinfo> |
206 |
</xs:annotation> |
|
238 |
</xs:annotation> |
207 |
</xs:assert> |
|
239 |
</xs:assert> |
208 |
<xs:assert test="if(exists(IDBEWOHNER/@value) and (not(IDBEWOHNER/@value castable as xs:int) or string-length(xs:string(IDBEWOHNER/@value)) > 6)) then false() else true()"> |
|
240 |
<xs:assert test="if(exists(IDBEWOHNER/@value) and (not(IDBEWOHNER/@value castable as xs:int) or string-length(xs:string(IDBEWOHNER/@value)) > 6)) then false() else true()"> |
209 |
<xs:annotation> |
|
241 |
<xs:annotation> |
210 |
<xs:appinfo> |
|
242 |
<xs:appinfo> |
211 |
<das:rule_id value="30001"/> |
|
243 |
<das:rule_id value="30001"/> |
212 |
<das:rule_text value="Der Datentyp des Datenfeldes [1: 'Bewohnerbezogene Nummer'] entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 6"/> |
<> |
244 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Bewohnerbezogene Nummer' entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 6"/> |
213 |
<das:rule_type value="ERROR"/> |
= |
245 |
<das:rule_type value="ERROR"/> |
214 |
<das:rule_fields> |
|
246 |
<das:rule_fields> |
215 |
<das:field value="IDBEWOHNER"/> |
|
247 |
<das:field value="IDBEWOHNER"/> |
216 |
</das:rule_fields> |
|
248 |
</das:rule_fields> |
217 |
</xs:appinfo> |
|
249 |
</xs:appinfo> |
218 |
</xs:annotation> |
|
250 |
</xs:annotation> |
219 |
</xs:assert> |
|
251 |
</xs:assert> |
220 |
<xs:assert test="if(exists(ERHEBUNGSDATUM/@value) and (not(ERHEBUNGSDATUM/@value castable as xs:date) or string-length(xs:string(ERHEBUNGSDATUM/@value)) != 10)) then false() else true()"> |
|
252 |
<xs:assert test="if(exists(ERHEBUNGSDATUM/@value) and (not(ERHEBUNGSDATUM/@value castable as xs:date) or string-length(xs:string(ERHEBUNGSDATUM/@value)) != 10)) then false() else true()"> |
221 |
<xs:annotation> |
|
253 |
<xs:annotation> |
222 |
<xs:appinfo> |
|
254 |
<xs:appinfo> |
223 |
<das:rule_id value="30002"/> |
|
255 |
<das:rule_id value="30002"/> |
224 |
<das:rule_text value="Der Datentyp des Datenfeldes [3: 'Datum der Ergebniserfassung'] entspricht nicht dem vorgegebenen Datentyp: xs:date mit einer Feldlänge von 10"/> |
<> |
256 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Datum der Erhebung' entspricht nicht dem vorgegebenen Datentyp: xs:date mit einer Feldlänge von 10"/> |
225 |
<das:rule_type value="ERROR"/> |
= |
257 |
<das:rule_type value="ERROR"/> |
226 |
<das:rule_fields> |
|
258 |
<das:rule_fields> |
227 |
<das:field value="ERHEBUNGSDATUM"/> |
|
259 |
<das:field value="ERHEBUNGSDATUM"/> |
228 |
</das:rule_fields> |
|
260 |
</das:rule_fields> |
229 |
</xs:appinfo> |
|
261 |
</xs:appinfo> |
230 |
</xs:annotation> |
|
262 |
</xs:annotation> |
231 |
</xs:assert> |
|
263 |
</xs:assert> |
232 |
<xs:assert test="if(exists(EINZUGSDATUM/@value) and (not(EINZUGSDATUM/@value castable as xs:date) or string-length(xs:string(EINZUGSDATUM/@value)) != 10)) then false() else true()"> |
|
264 |
<xs:assert test="if(exists(EINZUGSDATUM/@value) and (not(EINZUGSDATUM/@value castable as xs:date) or string-length(xs:string(EINZUGSDATUM/@value)) != 10)) then false() else true()"> |
233 |
<xs:annotation> |
|
265 |
<xs:annotation> |
234 |
<xs:appinfo> |
|
266 |
<xs:appinfo> |
235 |
<das:rule_id value="30003"/> |
|
267 |
<das:rule_id value="30003"/> |
236 |
<das:rule_text value="Der Datentyp des Datenfeldes [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)'] entspricht nicht dem vorgegebenen Datentyp: xs:date mit einer Feldlänge von 10"/> |
<> |
268 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Datum des Einzugs (Beginn der vollstationären Versorgung)' entspricht nicht dem vorgegebenen Datentyp: xs:date mit einer Feldlänge von 10"/> |
237 |
<das:rule_type value="ERROR"/> |
= |
269 |
<das:rule_type value="ERROR"/> |
238 |
<das:rule_fields> |
|
270 |
<das:rule_fields> |
239 |
<das:field value="EINZUGSDATUM"/> |
|
271 |
<das:field value="EINZUGSDATUM"/> |
240 |
</das:rule_fields> |
|
272 |
</das:rule_fields> |
241 |
</xs:appinfo> |
|
273 |
</xs:appinfo> |
242 |
</xs:annotation> |
|
274 |
</xs:annotation> |
243 |
</xs:assert> |
|
275 |
</xs:assert> |
244 |
<xs:assert test="if(exists(GEBURTSMONAT/@value) and (not(GEBURTSMONAT/@value castable as xs:int) or string-length(xs:string(GEBURTSMONAT/@value)) > 2)) then false() else true()"> |
|
276 |
<xs:assert test="if(exists(GEBURTSMONAT/@value) and (not(GEBURTSMONAT/@value castable as xs:int) or string-length(xs:string(GEBURTSMONAT/@value)) > 2)) then false() else true()"> |
245 |
<xs:annotation> |
|
277 |
<xs:annotation> |
246 |
<xs:appinfo> |
|
278 |
<xs:appinfo> |
247 |
<das:rule_id value="30004"/> |
|
279 |
<das:rule_id value="30004"/> |
248 |
<das:rule_text value="Der Datentyp des Datenfeldes [5: 'Geburtsmonat'] entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 2"/> |
<> |
280 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Geburtsmonat' entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 2"/> |
249 |
<das:rule_type value="ERROR"/> |
= |
281 |
<das:rule_type value="ERROR"/> |
250 |
<das:rule_fields> |
|
282 |
<das:rule_fields> |
251 |
<das:field value="GEBURTSMONAT"/> |
|
283 |
<das:field value="GEBURTSMONAT"/> |
252 |
</das:rule_fields> |
|
284 |
</das:rule_fields> |
253 |
</xs:appinfo> |
|
285 |
</xs:appinfo> |
254 |
</xs:annotation> |
|
286 |
</xs:annotation> |
255 |
</xs:assert> |
|
287 |
</xs:assert> |
256 |
<xs:assert test="if(exists(GEBURTSJAHR/@value) and (not(GEBURTSJAHR/@value castable as xs:gYear) or string-length(xs:string(GEBURTSJAHR/@value)) > 4)) then false() else true()"> |
|
288 |
<xs:assert test="if(exists(GEBURTSJAHR/@value) and (not(GEBURTSJAHR/@value castable as xs:gYear) or string-length(xs:string(GEBURTSJAHR/@value)) > 4)) then false() else true()"> |
257 |
<xs:annotation> |
|
289 |
<xs:annotation> |
258 |
<xs:appinfo> |
|
290 |
<xs:appinfo> |
259 |
<das:rule_id value="30005"/> |
|
291 |
<das:rule_id value="30005"/> |
260 |
<das:rule_text value="Der Datentyp des Datenfeldes [6: 'Geburtsjahr'] entspricht nicht dem vorgegebenen Datentyp: xs:gYear mit einer Feldlänge von 4"/> |
<> |
292 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Geburtsjahr' entspricht nicht dem vorgegebenen Datentyp: xs:gYear mit einer Feldlänge von 4"/> |
261 |
<das:rule_type value="ERROR"/> |
= |
293 |
<das:rule_type value="ERROR"/> |
262 |
<das:rule_fields> |
|
294 |
<das:rule_fields> |
263 |
<das:field value="GEBURTSJAHR"/> |
|
295 |
<das:field value="GEBURTSJAHR"/> |
|
|
-+ |
296 |
</das:rule_fields> |
|
|
|
297 |
</xs:appinfo> |
|
|
|
298 |
</xs:annotation> |
|
|
|
299 |
</xs:assert> |
|
|
|
300 |
<xs:assert test="if(exists(GESCHLECHT/@value) and (not(GESCHLECHT/@value castable as xs:int) or string-length(xs:string(GESCHLECHT/@value)) > 1)) then false() else true()"> |
|
|
|
301 |
<xs:annotation> |
|
|
|
302 |
<xs:appinfo> |
|
|
|
303 |
<das:rule_id value="30006"/> |
|
|
|
304 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Geschlecht' entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 1"/> |
|
|
|
305 |
<das:rule_type value="ERROR"/> |
|
|
|
306 |
<das:rule_fields> |
|
|
|
307 |
<das:field value="GESCHLECHT"/> |
264 |
</das:rule_fields> |
= |
308 |
</das:rule_fields> |
265 |
</xs:appinfo> |
|
309 |
</xs:appinfo> |
266 |
</xs:annotation> |
|
310 |
</xs:annotation> |
267 |
</xs:assert> |
|
311 |
</xs:assert> |
268 |
<xs:assert test="if(exists(AUSSCHLUSSGRUND/@value) and (not(AUSSCHLUSSGRUND/@value castable as xs:int) or string-length(xs:string(AUSSCHLUSSGRUND/@value)) > 1)) then false() else true()"> |
|
312 |
<xs:assert test="if(exists(AUSSCHLUSSGRUND/@value) and (not(AUSSCHLUSSGRUND/@value castable as xs:int) or string-length(xs:string(AUSSCHLUSSGRUND/@value)) > 1)) then false() else true()"> |
269 |
<xs:annotation> |
|
313 |
<xs:annotation> |
270 |
<xs:appinfo> |
|
314 |
<xs:appinfo> |
271 |
<das:rule_id value="30096"/> |
|
315 |
<das:rule_id value="30096"/> |
272 |
<das:rule_text value="Der Datentyp des Datenfeldes ['Ausschlussgrund'] entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 1"/> |
<> |
316 |
<das:rule_text value="Der Datentyp des Datenfeldes 'Ausschlussgrund' entspricht nicht dem vorgegebenen Datentyp: xs:int mit einer Feldlänge von 1"/> |
273 |
<das:rule_type value="ERROR"/> |
= |
317 |
<das:rule_type value="ERROR"/> |
274 |
<das:rule_fields> |
|
318 |
<das:rule_fields> |
275 |
<das:field value="AUSSCHLUSSGRUND"/> |
|
319 |
<das:field value="AUSSCHLUSSGRUND"/> |
276 |
</das:rule_fields> |
|
320 |
</das:rule_fields> |
277 |
</xs:appinfo> |
|
321 |
</xs:appinfo> |
278 |
</xs:annotation> |
|
322 |
</xs:annotation> |
279 |
</xs:assert> |
|
323 |
</xs:assert> |
280 |
<xs:assert test="if(xs:int(xs:string(GEBURTSJAHR/@value)) < 1900 or xs:int(xs:string(GEBURTSJAHR/@value)) > xs:int(xs:string(year-from-date(current-date())))) then false() else true()"> |
|
324 |
<xs:assert test="if(xs:int(xs:string(GEBURTSJAHR/@value)) < 1900 or xs:int(xs:string(GEBURTSJAHR/@value)) > xs:int(xs:string(year-from-date(current-date())))) then false() else true()"> |
281 |
<xs:annotation> |
|
325 |
<xs:annotation> |
282 |
<xs:appinfo> |
|
326 |
<xs:appinfo> |
283 |
<das:rule_id value="40001"/> |
|
327 |
<das:rule_id value="40001"/> |
284 |
<das:rule_text value="Der Wert des Datenfeldes [6: 'Geburtsjahr'] liegt nicht im gültigen Wertebereich: >= 1900 und <= dem aktuellen Jahr"/> |
<> |
328 |
<das:rule_text value="Der Wert des Datenfeldes 'Geburtsjahr' liegt nicht im gültigen Wertebereich: >= 1900 und <= dem aktuellen Jahr"/> |
285 |
<das:rule_type value="ERROR"/> |
= |
329 |
<das:rule_type value="ERROR"/> |
286 |
<das:rule_fields> |
|
330 |
<das:rule_fields> |
287 |
<das:field value="GEBURTSJAHR"/> |
|
331 |
<das:field value="GEBURTSJAHR"/> |
288 |
</das:rule_fields> |
|
332 |
</das:rule_fields> |
289 |
</xs:appinfo> |
|
333 |
</xs:appinfo> |
290 |
</xs:annotation> |
|
334 |
</xs:annotation> |
291 |
</xs:assert> |
|
335 |
</xs:assert> |
292 |
<xs:assert test="if(ERHEBUNGSDATUM/@value > current-date()) then false() else true()"> |
|
336 |
<xs:assert test="if(ERHEBUNGSDATUM/@value > current-date()) then false() else true()"> |
293 |
<xs:annotation> |
|
337 |
<xs:annotation> |
294 |
<xs:appinfo> |
|
338 |
<xs:appinfo> |
295 |
<das:rule_id value="50001"/> |
|
339 |
<das:rule_id value="50001"/> |
296 |
<das:rule_text value="Das Datum im Datenfeld [3: 'Datum der Ergebniserfassung'] liegt in der Zukunft"/> |
<> |
340 |
<das:rule_text value="Das Datum im Datenfeld 'Datum der Erhebung' liegt in der Zukunft"/> |
297 |
<das:rule_type value="ERROR"/> |
= |
341 |
<das:rule_type value="ERROR"/> |
298 |
<das:rule_fields> |
|
342 |
<das:rule_fields> |
299 |
<das:field value="ERHEBUNGSDATUM"/> |
|
343 |
<das:field value="ERHEBUNGSDATUM"/> |
300 |
</das:rule_fields> |
|
344 |
</das:rule_fields> |
301 |
</xs:appinfo> |
|
345 |
</xs:appinfo> |
302 |
</xs:annotation> |
|
346 |
</xs:annotation> |
303 |
</xs:assert> |
|
347 |
</xs:assert> |
304 |
<xs:assert test="if(EINZUGSDATUM/@value > current-date()) then false() else true()"> |
|
348 |
<xs:assert test="if(EINZUGSDATUM/@value > current-date()) then false() else true()"> |
305 |
<xs:annotation> |
|
349 |
<xs:annotation> |
306 |
<xs:appinfo> |
|
350 |
<xs:appinfo> |
307 |
<das:rule_id value="50002"/> |
|
351 |
<das:rule_id value="50002"/> |
308 |
<das:rule_text value="Das Datum im Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)'] liegt in der Zukunft"/> |
<> |
352 |
<das:rule_text value="Das Datum im Datenfeld 'Datum des Einzugs (Beginn der vollstationären Versorgung)' liegt in der Zukunft"/> |
309 |
<das:rule_type value="ERROR"/> |
= |
353 |
<das:rule_type value="ERROR"/> |
310 |
<das:rule_fields> |
|
354 |
<das:rule_fields> |
311 |
<das:field value="EINZUGSDATUM"/> |
|
355 |
<das:field value="EINZUGSDATUM"/> |
312 |
</das:rule_fields> |
|
356 |
</das:rule_fields> |
313 |
</xs:appinfo> |
|
357 |
</xs:appinfo> |
314 |
</xs:annotation> |
|
358 |
</xs:annotation> |
315 |
</xs:assert> |
|
359 |
</xs:assert> |
316 |
<xs:assert test="if(ERHEBUNGSDATUM/@value < EINZUGSDATUM/@value) then false() else true()"> |
|
360 |
<xs:assert test="if(ERHEBUNGSDATUM/@value < EINZUGSDATUM/@value) then false() else true()"> |
317 |
<xs:annotation> |
|
361 |
<xs:annotation> |
318 |
<xs:appinfo> |
|
362 |
<xs:appinfo> |
319 |
<das:rule_id value="50019"/> |
|
363 |
<das:rule_id value="50019"/> |
320 |
<das:rule_text value="Das Datum im Datenfeld [3: 'Datum der Ergebniserfassung'] liegt vor dem Datum im Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)']"/> |
<> |
364 |
<das:rule_text value="Das Datum im Datenfeld 'Datum der Erhebung' liegt vor dem Datum im Datenfeld 'Datum des Einzugs (Beginn der vollstationären Versorgung)'"/> |
321 |
<das:rule_type value="ERROR"/> |
= |
365 |
<das:rule_type value="ERROR"/> |
322 |
<das:rule_fields> |
|
366 |
<das:rule_fields> |
323 |
<das:field value="EINZUGSDATUM"/> |
|
367 |
<das:field value="EINZUGSDATUM"/> |
324 |
<das:field value="ERHEBUNGSDATUM"/> |
|
368 |
<das:field value="ERHEBUNGSDATUM"/> |
325 |
</das:rule_fields> |
|
369 |
</das:rule_fields> |
326 |
</xs:appinfo> |
|
370 |
</xs:appinfo> |
327 |
</xs:annotation> |
|
371 |
</xs:annotation> |
328 |
</xs:assert> |
|
372 |
</xs:assert> |
329 |
<xs:assert test="if(AUSSCHLUSSGRUND/@value = (1,3,4) and not(exists(EINZUGSDATUM/@value))) then false() else true()"> |
|
373 |
<xs:assert test="if(AUSSCHLUSSGRUND/@value = (1,3,4) and not(exists(EINZUGSDATUM/@value))) then false() else true()"> |
330 |
<xs:annotation> |
|
374 |
<xs:annotation> |
331 |
<xs:appinfo> |
|
375 |
<xs:appinfo> |
332 |
<das:rule_id value="60096"/> |
|
376 |
<das:rule_id value="60096"/> |
333 |
<das:rule_text value="Im Datenfeld ['Ausschlussgrund'] ist [1 = Einzugsdatum liegt weniger als 14 Tage vor dem Stichtag], [3 = Bewohner bzw. Bewohnerin befindet sich in der Sterbephase] oder [4 = Bewohner bzw. Bewohnerin hält sich seit mindestens 21 Tagen vor dem Stichtag nicht mehr in der Einrichtung auf (z. B. wegen einer Krankenhausbehandlung oder eines längeren Urlaubs mit Angehörigen)] angegeben, jedoch kein Wert im Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)']. Das Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)'] wird in diesem Fall zu einem Pflichtfeld"/> |
<> |
377 |
<das:rule_text value="Für das Datenfeld 'Ausschlussgrund' ist [1] = 'Einzugsdatum liegt weniger als 14 Tage vor dem Stichtag' oder [3] = 'Bewohner bzw. Bewohnerin befindet sich in der Sterbephase' oder [4] = 'Bewohner bzw. Bewohnerin hält sich seit mindestens 21 Tagen vor dem Stichtag nicht mehr in der Einrichtung auf (z. B. wegen einer Krankenhausbehandlung oder eines längeren Urlaubs mit Angehörigen)' angegeben und das Datenfeld 'Datum des Einzugs (Beginn der vollstationären Versorgung)' ist nicht ausgefüllt"/> |
334 |
<das:rule_type value="ERROR"/> |
= |
378 |
<das:rule_type value="ERROR"/> |
335 |
<das:rule_fields> |
|
379 |
<das:rule_fields> |
336 |
<das:field value="AUSSCHLUSSGRUND"/> |
|
380 |
<das:field value="AUSSCHLUSSGRUND"/> |
337 |
<das:field value="EINZUGSDATUM"/> |
|
381 |
<das:field value="EINZUGSDATUM"/> |
338 |
</das:rule_fields> |
|
382 |
</das:rule_fields> |
339 |
</xs:appinfo> |
|
383 |
</xs:appinfo> |
340 |
</xs:annotation> |
|
384 |
</xs:annotation> |
341 |
</xs:assert> |
|
385 |
</xs:assert> |
342 |
<xs:assert test="if(not(AUSSCHLUSSGRUND/@value = (1,3,4)) and exists(EINZUGSDATUM/@value)) then false() else true()"> |
|
386 |
<xs:assert test="if(not(AUSSCHLUSSGRUND/@value = (1,3,4)) and exists(EINZUGSDATUM/@value)) then false() else true()"> |
343 |
<xs:annotation> |
|
387 |
<xs:annotation> |
344 |
<xs:appinfo> |
|
388 |
<xs:appinfo> |
345 |
<das:rule_id value="60097"/> |
|
389 |
<das:rule_id value="60097"/> |
346 |
<das:rule_text value="Im Datenfeld ['Ausschlussgrund'] ist [2 = Bewohner bzw. Bewohnerin ist Kurzzeit- bzw. Verhinderungspflegegast] angegeben und gleichzeitig ein Wert im Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)']. Im Datenfeld [4: 'Datum des Einzugs (Beginn der vollstationären Langzeitpflege)'] darf in diesem Fall kein Wert angegeben werden"/> |
<> |
390 |
<das:rule_text value="Für das Datenfeld 'Ausschlussgrund' ist nicht [1] = 'Einzugsdatum liegt weniger als 14 Tage vor dem Stichtag' oder [3] = 'Bewohner bzw. Bewohnerin befindet sich in der Sterbephase' oder [4] = 'Bewohner bzw. Bewohnerin hält sich seit mindestens 21 Tagen vor dem Stichtag nicht mehr in der Einrichtung auf (z. B. wegen einer Krankenhausbehandlung oder eines längeren Urlaubs mit Angehörigen)' angegeben und das Datenfeld 'Datum des Einzugs (Beginn der vollstationären Versorgung)' ist ausgefüllt"/> |
347 |
<das:rule_type value="ERROR"/> |
= |
391 |
<das:rule_type value="ERROR"/> |
348 |
<das:rule_fields> |
|
392 |
<das:rule_fields> |
349 |
<das:field value="AUSSCHLUSSGRUND"/> |
|
393 |
<das:field value="AUSSCHLUSSGRUND"/> |
350 |
<das:field value="EINZUGSDATUM"/> |
|
394 |
<das:field value="EINZUGSDATUM"/> |
351 |
</das:rule_fields> |
|
395 |
</das:rule_fields> |
352 |
</xs:appinfo> |
|
396 |
</xs:appinfo> |
353 |
</xs:annotation> |
|
397 |
</xs:annotation> |
354 |
</xs:assert> |
|
398 |
</xs:assert> |
355 |
</xs:complexType> |
|
399 |
</xs:complexType> |
356 |
</xs:schema> |
|
400 |
</xs:schema> |