]> git.llucax.com Git - z.facultad/75.10/miklolife.git/blob
a47493c9a6c4a77b2f3ff89f03ea6bc5406d7236
[z.facultad/75.10/miklolife.git] /
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">\r
3 \r
4         <xs:element name="prestador" type="PrestadorType"/>\r
5         <xs:element name="infoPrestaciones" type="InfoPrestacionesType"/>\r
6 \r
7         <xs:complexType name="InfoPrestacionesType">\r
8                 <xs:sequence>\r
9                         <xs:element name="prestador" type="PrestadorType"/>\r
10                         <xs:element name="lineas" type="LineasType"/>\r
11                 </xs:sequence>\r
12                 <xs:attribute name="fechaEnvio" type="xs:date"/>\r
13         </xs:complexType>\r
14 \r
15         <xs:complexType name="PrestadorType">\r
16                 <xs:sequence>\r
17                         <xs:element name="CUIT" type="CUITType"/>\r
18                 </xs:sequence>\r
19         </xs:complexType>\r
20 \r
21         <xs:complexType name="LineasType">\r
22                 <xs:sequence>\r
23                         <xs:element name="linea" type="LineaType" minOccurs="0" maxOccurs="unbounded"/>\r
24                 </xs:sequence>\r
25         </xs:complexType>\r
26 \r
27         <xs:complexType name="LineaType">\r
28                 <xs:sequence>\r
29                         <xs:element name="codigoAfiliado" type="xs:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>\r
30                         <xs:element name="codigoPrestacion" type="CodigoPrestacionType"/>\r
31                         <xs:element name="fechaRealizacion" type="xs:date"/>\r
32                         <xs:element name="porcentajeCobertura" type="PorcentajeCoberturaType"/>\r
33                 </xs:sequence>\r
34                 <xs:attribute name="codigoAutorizacion" type="xs:positiveInteger"/>\r
35         </xs:complexType>\r
36 \r
37         <xs:simpleType name="CUITType">\r
38                 <xs:restriction base="xs:string">\r
39                         <xs:pattern value="\d{2}-\d{8}-\d{1}"/>\r
40                 </xs:restriction>\r
41         </xs:simpleType>\r
42 \r
43         <xs:simpleType name="CodigoPrestacionType">\r
44                 <xs:restriction base="xs:normalizedString">\r
45                         <xs:minLength value="1"/>\r
46                         <xs:maxLength value="8"/>\r
47                 </xs:restriction>\r
48         </xs:simpleType>\r
49 \r
50         <xs:simpleType name="PorcentajeCoberturaType">\r
51                 <xs:restriction base="xs:decimal">\r
52                         <xs:minInclusive value="0"/>\r
53                         <xs:maxInclusive value="100"/>\r
54                 </xs:restriction>\r
55         </xs:simpleType>\r
56 \r
57 </xs:schema>\r