tiss_validator 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +53 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/tiss_validate +19 -0
- data/lib/tiss/030301/tissAssinaturaDigital_v1.01.xsd +16 -0
- data/lib/tiss/030301/tissComplexTypesV3_03_01.xsd +1372 -0
- data/lib/tiss/030301/tissGuiasV3_03_01.xsd +1402 -0
- data/lib/tiss/030301/tissMonitoramentoQualidadeV3_03_01.xsd +152 -0
- data/lib/tiss/030301/tissMonitoramentoV3_03_01.xsd +511 -0
- data/lib/tiss/030301/tissSimpleTypesV3_03_01.xsd +4120 -0
- data/lib/tiss/030301/tissV3_03_01.xsd +118 -0
- data/lib/tiss/030301/tissWebServicesV3_03_01.xsd +330 -0
- data/lib/tiss/030301/xmldsig-core-schema.xsd +308 -0
- data/lib/tiss_validator.rb +16 -0
- data/lib/tiss_validator/version.rb +3 -0
- data/tiss_validator.gemspec +48 -0
- metadata +131 -0
@@ -0,0 +1,118 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ans="http://www.ans.gov.br/padroes/tiss/schemas" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.ans.gov.br/padroes/tiss/schemas" elementFormDefault="qualified">
|
3
|
+
<!--VERS�O TISS 3.03.01 - Mensagens do Padr�o TISS-->
|
4
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_03_01.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_03_01.xsd"/>
|
7
|
+
<include schemaLocation="tissGuiasV3_03_01.xsd"/>
|
8
|
+
<!-- Estrutura da mensagem do TISS -->
|
9
|
+
<element name="mensagemTISS">
|
10
|
+
<complexType>
|
11
|
+
<sequence>
|
12
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
13
|
+
<choice>
|
14
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
15
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
16
|
+
</choice>
|
17
|
+
<element name="epilogo" type="ans:epilogo"/>
|
18
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<!-- Definicao do cabecalho das mensagens -->
|
23
|
+
<complexType name="cabecalhoTransacao">
|
24
|
+
<sequence>
|
25
|
+
<element name="identificacaoTransacao">
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
29
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
30
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
31
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
32
|
+
</sequence>
|
33
|
+
</complexType>
|
34
|
+
</element>
|
35
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
36
|
+
<element name="origem">
|
37
|
+
<complexType>
|
38
|
+
<choice>
|
39
|
+
<!-- origem de mensagens de prestadores para as operadoras -->
|
40
|
+
<element name="identificacaoPrestador">
|
41
|
+
<complexType>
|
42
|
+
<complexContent>
|
43
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
44
|
+
</complexContent>
|
45
|
+
</complexType>
|
46
|
+
</element>
|
47
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
48
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
49
|
+
</choice>
|
50
|
+
</complexType>
|
51
|
+
</element>
|
52
|
+
<element name="destino">
|
53
|
+
<complexType>
|
54
|
+
<choice>
|
55
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
56
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
57
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
58
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
59
|
+
</choice>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="Padrao" type="ans:dm_versao"/>
|
63
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
64
|
+
</sequence>
|
65
|
+
</complexType>
|
66
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
67
|
+
<complexType name="operadoraPrestador">
|
68
|
+
<choice>
|
69
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
70
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
71
|
+
<complexType>
|
72
|
+
<choice>
|
73
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
74
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
75
|
+
</choice>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
79
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
80
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
81
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
82
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
83
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
84
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
85
|
+
<complexType>
|
86
|
+
<choice>
|
87
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
88
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
89
|
+
</choice>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
93
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
94
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
98
|
+
<complexType name="prestadorOperadora">
|
99
|
+
<choice>
|
100
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
101
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
102
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
103
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
104
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
105
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
106
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
107
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
108
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
109
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
110
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
111
|
+
</choice>
|
112
|
+
</complexType>
|
113
|
+
<complexType name="epilogo">
|
114
|
+
<sequence>
|
115
|
+
<element name="hash" type="string"/>
|
116
|
+
</sequence>
|
117
|
+
</complexType>
|
118
|
+
</schema>
|
@@ -0,0 +1,330 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<!-- TISS vers�o 3.02.01 - Mensagens utilizadas nos Web Services -->
|
3
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ans="http://www.ans.gov.br/padroes/tiss/schemas" targetNamespace="http://www.ans.gov.br/padroes/tiss/schemas" elementFormDefault="qualified">
|
4
|
+
<include schemaLocation="tissComplexTypesV3_03_01.xsd"/>
|
5
|
+
<include schemaLocation="tissGuiasV3_03_01.xsd"/>
|
6
|
+
<include schemaLocation="tissSimpleTypesV3_03_01.xsd"/>
|
7
|
+
<include schemaLocation="tissV3_03_01.xsd"/>
|
8
|
+
<element name="cancelaGuiaWS">
|
9
|
+
<annotation>
|
10
|
+
<documentation> Prestador solicita cancelamento de guia</documentation>
|
11
|
+
</annotation>
|
12
|
+
<complexType>
|
13
|
+
<sequence>
|
14
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
15
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento"/>
|
16
|
+
<element name="hash" type="string"/>
|
17
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
18
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<element name="reciboCancelaGuiaWS">
|
23
|
+
<annotation>
|
24
|
+
<documentation>Operadora responde a solicita��o de cancelamento de guia</documentation>
|
25
|
+
</annotation>
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
29
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia"/>
|
30
|
+
<element name="hash" type="string"/>
|
31
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
32
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
33
|
+
</sequence>
|
34
|
+
</complexType>
|
35
|
+
</element>
|
36
|
+
<element name="comunicacaoBeneficiarioWS">
|
37
|
+
<annotation>
|
38
|
+
<documentation>Prestador envia informa��o sobre interna��o/alta de benefici�rio</documentation>
|
39
|
+
</annotation>
|
40
|
+
<complexType>
|
41
|
+
<sequence>
|
42
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
43
|
+
<element name="comunicacaoBeneficiario" type="ans:ctm_beneficiarioComunicacao"/>
|
44
|
+
<element name="hash" type="string"/>
|
45
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
46
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/> -->
|
47
|
+
</sequence>
|
48
|
+
</complexType>
|
49
|
+
</element>
|
50
|
+
<element name="reciboComunicacaoWS">
|
51
|
+
<annotation>
|
52
|
+
<documentation>Operadora responde a informa��o de interna��o/alta de benefici�rio</documentation>
|
53
|
+
</annotation>
|
54
|
+
<complexType>
|
55
|
+
<sequence>
|
56
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
57
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao"/>
|
58
|
+
<element name="hash" type="string"/>
|
59
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
60
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
61
|
+
</sequence>
|
62
|
+
</complexType>
|
63
|
+
</element>
|
64
|
+
<element name="loteGuiasWS">
|
65
|
+
<annotation>
|
66
|
+
<documentation>Prestador envia lote de guias a operadora</documentation>
|
67
|
+
</annotation>
|
68
|
+
<complexType>
|
69
|
+
<sequence>
|
70
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
71
|
+
<element name="loteGuias" type="ans:ctm_guiaLote"/>
|
72
|
+
<element name="hash" type="string"/>
|
73
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
74
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
75
|
+
</sequence>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="protocoloRecebimentoWS">
|
79
|
+
<annotation>
|
80
|
+
<documentation>Operadora envia protocolo de recebimento das guias</documentation>
|
81
|
+
</annotation>
|
82
|
+
<complexType>
|
83
|
+
<sequence>
|
84
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
85
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote"/>
|
86
|
+
<element name="hash" type="string"/>
|
87
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
88
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
89
|
+
</sequence>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="loteRecursoGlosaWS">
|
93
|
+
<annotation>
|
94
|
+
<documentation>Prestador envia lote com recurso de glosa</documentation>
|
95
|
+
</annotation>
|
96
|
+
<complexType>
|
97
|
+
<sequence>
|
98
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
99
|
+
<element name="loteRecurso" type="ans:ct_guiaRecursoLote"/>
|
100
|
+
<element name="hash" type="string"/>
|
101
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
102
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
103
|
+
</sequence>
|
104
|
+
</complexType>
|
105
|
+
</element>
|
106
|
+
<element name="protocoloRecebimentoRecursoWS">
|
107
|
+
<annotation>
|
108
|
+
<documentation>Operadora envia protocolo de recebimento de recurso de glosa</documentation>
|
109
|
+
</annotation>
|
110
|
+
<complexType>
|
111
|
+
<sequence>
|
112
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
113
|
+
<element name="recebimentoRecurso" type="ans:ct_recebimentoRecurso"/>
|
114
|
+
<element name="hash" type="string"/>
|
115
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
116
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
117
|
+
</sequence>
|
118
|
+
</complexType>
|
119
|
+
</element>
|
120
|
+
<element name="solicitacaoDemonstrativoRetornoWS">
|
121
|
+
<annotation>
|
122
|
+
<documentation>Prestador solicita demonstrativo de retorno de pagamentos</documentation>
|
123
|
+
</annotation>
|
124
|
+
<complexType>
|
125
|
+
<sequence>
|
126
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
127
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao"/>
|
128
|
+
<element name="hash" type="string"/>
|
129
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
130
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
131
|
+
</sequence>
|
132
|
+
</complexType>
|
133
|
+
</element>
|
134
|
+
<element name="demonstrativoRetornoWS">
|
135
|
+
<annotation>
|
136
|
+
<documentation>Operadora envia demonstrativos de pagamento (at� 30)</documentation>
|
137
|
+
</annotation>
|
138
|
+
<complexType>
|
139
|
+
<sequence>
|
140
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
141
|
+
<element name="demonstrativoRetorno" type="ans:ct_demonstrativoRetorno"/>
|
142
|
+
<element name="hash" type="string"/>
|
143
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
144
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
145
|
+
</sequence>
|
146
|
+
</complexType>
|
147
|
+
</element>
|
148
|
+
<element name="solicitacaoProcedimentoWS">
|
149
|
+
<annotation>
|
150
|
+
<documentation>Prestador solicita autoriza��o de procedimento (SpSADT, Interna��o ou prorroga��o de interna��o)</documentation>
|
151
|
+
</annotation>
|
152
|
+
<complexType>
|
153
|
+
<sequence>
|
154
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
155
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento"/>
|
156
|
+
<element name="hash" type="string"/>
|
157
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
158
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
159
|
+
</sequence>
|
160
|
+
</complexType>
|
161
|
+
</element>
|
162
|
+
<element name="autorizacaoProcedimentoWS">
|
163
|
+
<annotation>
|
164
|
+
<documentation>Operadora responde a autoriza��o de procedimento(SpSadt, interna��o ou prorroga��o)</documentation>
|
165
|
+
</annotation>
|
166
|
+
<complexType>
|
167
|
+
<sequence>
|
168
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
169
|
+
<element name="autorizacaoProcedimento" type="ans:ct_situacaoAutorizacao"/>
|
170
|
+
<element name="hash" type="string"/>
|
171
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
172
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
173
|
+
</sequence>
|
174
|
+
</complexType>
|
175
|
+
</element>
|
176
|
+
<element name="solicitacaoStatusAutorizacaoWS">
|
177
|
+
<annotation>
|
178
|
+
<documentation>Prestador solicita status de pedido de autoriza��o</documentation>
|
179
|
+
</annotation>
|
180
|
+
<complexType>
|
181
|
+
<sequence>
|
182
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
183
|
+
<element name="solicitacaoStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus"/>
|
184
|
+
<element name="hash" type="string"/>
|
185
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
186
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
187
|
+
</sequence>
|
188
|
+
</complexType>
|
189
|
+
</element>
|
190
|
+
<element name="situacaoAutorizacaoWS">
|
191
|
+
<annotation>
|
192
|
+
<documentation>Operadora responde status de autoriza��o</documentation>
|
193
|
+
</annotation>
|
194
|
+
<complexType>
|
195
|
+
<sequence>
|
196
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
197
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao"/>
|
198
|
+
<element name="hash" type="string"/>
|
199
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
200
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
201
|
+
</sequence>
|
202
|
+
</complexType>
|
203
|
+
</element>
|
204
|
+
<element name="solicitacaoStatusProtocoloWS">
|
205
|
+
<annotation>
|
206
|
+
<documentation>Prestador solicita status de protocolo(s)</documentation>
|
207
|
+
</annotation>
|
208
|
+
<complexType>
|
209
|
+
<sequence>
|
210
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
211
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus"/>
|
212
|
+
<element name="hash" type="string"/>
|
213
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
214
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
215
|
+
</sequence>
|
216
|
+
</complexType>
|
217
|
+
</element>
|
218
|
+
<element name="situacaoProtocoloWS">
|
219
|
+
<annotation>
|
220
|
+
<documentation>Operadora responde situa��o do(s) protocolo(s)</documentation>
|
221
|
+
</annotation>
|
222
|
+
<complexType>
|
223
|
+
<sequence>
|
224
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
225
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo"/>
|
226
|
+
<element name="hash" type="string"/>
|
227
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
228
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
229
|
+
</sequence>
|
230
|
+
</complexType>
|
231
|
+
</element>
|
232
|
+
<element name="pedidoElegibilidadeWS">
|
233
|
+
<annotation>
|
234
|
+
<documentation>Prestador solicita elegibilidade do paciente</documentation>
|
235
|
+
</annotation>
|
236
|
+
<complexType>
|
237
|
+
<sequence>
|
238
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
239
|
+
<element name="pedidoElegibilidade" type="ans:ct_elegibilidadeVerifica"/>
|
240
|
+
<element name="hash" type="string"/>
|
241
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
242
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
243
|
+
</sequence>
|
244
|
+
</complexType>
|
245
|
+
</element>
|
246
|
+
<element name="respostaElegibilidadeWS">
|
247
|
+
<annotation>
|
248
|
+
<documentation>Operadora responde sobre a elegibilidade do paciente</documentation>
|
249
|
+
</annotation>
|
250
|
+
<complexType>
|
251
|
+
<sequence>
|
252
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
253
|
+
<element name="respostaElegibilidade" type="ans:ct_respostaElegibilidade"/>
|
254
|
+
<element name="hash" type="string"/>
|
255
|
+
<element name="Signatures" type="ans:Signature" minOccurs="0"/>
|
256
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
257
|
+
</sequence>
|
258
|
+
</complexType>
|
259
|
+
</element>
|
260
|
+
<element name="loteAnexoWS">
|
261
|
+
<annotation>
|
262
|
+
<documentation>Prestador envia solicita��o de quimio, radio e opme</documentation>
|
263
|
+
</annotation>
|
264
|
+
<complexType>
|
265
|
+
<sequence>
|
266
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
267
|
+
<element name="loteAnexo" type="ans:ct_anexoLote"/>
|
268
|
+
<element name="hash" type="string"/>
|
269
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
270
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
271
|
+
</sequence>
|
272
|
+
</complexType>
|
273
|
+
</element>
|
274
|
+
<element name="protocoloRecebimentoAnexoWS">
|
275
|
+
<annotation>
|
276
|
+
<documentation>Operadora envia protocolo de recebimento dos anexos de quimio, radio e opme</documentation>
|
277
|
+
</annotation>
|
278
|
+
<complexType>
|
279
|
+
<sequence>
|
280
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
281
|
+
<element name="loteAnexo">
|
282
|
+
<complexType>
|
283
|
+
<choice>
|
284
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
285
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
286
|
+
</choice>
|
287
|
+
</complexType>
|
288
|
+
</element>
|
289
|
+
<element name="hash" type="string"/>
|
290
|
+
<element name="Signatures" type="ans:Signature" minOccurs="0"/>
|
291
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
292
|
+
</sequence>
|
293
|
+
</complexType>
|
294
|
+
</element>
|
295
|
+
<element name="solicitacaoStatusRecursoGlosaWS">
|
296
|
+
<annotation>
|
297
|
+
<documentation>Prestador solicita status de protocolo de recurso de glosa</documentation>
|
298
|
+
</annotation>
|
299
|
+
<complexType>
|
300
|
+
<sequence>
|
301
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
302
|
+
<element name="solicitacaoStatusProtocoloRecurso" type="ans:ct_protocoloSolicitacaoStatus"/>
|
303
|
+
<element name="hash" type="string"/>
|
304
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
305
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
306
|
+
</sequence>
|
307
|
+
</complexType>
|
308
|
+
</element>
|
309
|
+
<element name="situacaoProtocoloRecursoWS">
|
310
|
+
<annotation>
|
311
|
+
<documentation>Operadora responde situa��o do protocolo de recurso de glosa</documentation>
|
312
|
+
</annotation>
|
313
|
+
<complexType>
|
314
|
+
<sequence>
|
315
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
316
|
+
<element name="situacaoProtocoloRecurso" type="ans:ct_respostaGlosa"/>
|
317
|
+
<element name="hash" type="string"/>
|
318
|
+
<element name="Signature" type="ans:Signature" minOccurs="0"/>
|
319
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
320
|
+
</sequence>
|
321
|
+
</complexType>
|
322
|
+
</element>
|
323
|
+
<element name="tissFaultWS">
|
324
|
+
<complexType>
|
325
|
+
<sequence>
|
326
|
+
<element name="tissFault" type="ans:st_tissFault"/>
|
327
|
+
</sequence>
|
328
|
+
</complexType>
|
329
|
+
</element>
|
330
|
+
</schema>
|
@@ -0,0 +1,308 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
|
3
|
+
<!ATTLIST schema
|
4
|
+
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
|
5
|
+
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
|
6
|
+
<!ENTITY % p ''>
|
7
|
+
<!ENTITY % s ''>
|
8
|
+
]>
|
9
|
+
<!-- Schema for XML Signatures
|
10
|
+
http://www.w3.org/2000/09/xmldsig#
|
11
|
+
$Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $
|
12
|
+
|
13
|
+
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
|
14
|
+
of Technology, Institut National de Recherche en Informatique et en
|
15
|
+
Automatique, Keio University). All Rights Reserved.
|
16
|
+
http://www.w3.org/Consortium/Legal/
|
17
|
+
|
18
|
+
This document is governed by the W3C Software License [1] as described
|
19
|
+
in the FAQ [2].
|
20
|
+
|
21
|
+
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
22
|
+
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
|
23
|
+
-->
|
24
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified">
|
25
|
+
|
26
|
+
<!-- Basic Types Defined for Signatures -->
|
27
|
+
|
28
|
+
<simpleType name="CryptoBinary">
|
29
|
+
<restriction base="base64Binary">
|
30
|
+
</restriction>
|
31
|
+
</simpleType>
|
32
|
+
|
33
|
+
<!-- Start Signature -->
|
34
|
+
|
35
|
+
<element name="Signature" type="ds:SignatureType"/>
|
36
|
+
<complexType name="SignatureType">
|
37
|
+
<sequence>
|
38
|
+
<element ref="ds:SignedInfo"/>
|
39
|
+
<element ref="ds:SignatureValue"/>
|
40
|
+
<element ref="ds:KeyInfo" minOccurs="0"/>
|
41
|
+
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
|
42
|
+
</sequence>
|
43
|
+
<attribute name="Id" type="ID" use="optional"/>
|
44
|
+
</complexType>
|
45
|
+
|
46
|
+
<element name="SignatureValue" type="ds:SignatureValueType"/>
|
47
|
+
<complexType name="SignatureValueType">
|
48
|
+
<simpleContent>
|
49
|
+
<extension base="base64Binary">
|
50
|
+
<attribute name="Id" type="ID" use="optional"/>
|
51
|
+
</extension>
|
52
|
+
</simpleContent>
|
53
|
+
</complexType>
|
54
|
+
|
55
|
+
<!-- Start SignedInfo -->
|
56
|
+
|
57
|
+
<element name="SignedInfo" type="ds:SignedInfoType"/>
|
58
|
+
<complexType name="SignedInfoType">
|
59
|
+
<sequence>
|
60
|
+
<element ref="ds:CanonicalizationMethod"/>
|
61
|
+
<element ref="ds:SignatureMethod"/>
|
62
|
+
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
63
|
+
</sequence>
|
64
|
+
<attribute name="Id" type="ID" use="optional"/>
|
65
|
+
</complexType>
|
66
|
+
|
67
|
+
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
|
68
|
+
<complexType name="CanonicalizationMethodType" mixed="true">
|
69
|
+
<sequence>
|
70
|
+
<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
|
71
|
+
<!-- (0,unbounded) elements from (1,1) namespace -->
|
72
|
+
</sequence>
|
73
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
74
|
+
</complexType>
|
75
|
+
|
76
|
+
<element name="SignatureMethod" type="ds:SignatureMethodType"/>
|
77
|
+
<complexType name="SignatureMethodType" mixed="true">
|
78
|
+
<sequence>
|
79
|
+
<element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
|
80
|
+
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
81
|
+
<!-- (0,unbounded) elements from (1,1) external namespace -->
|
82
|
+
</sequence>
|
83
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
84
|
+
</complexType>
|
85
|
+
|
86
|
+
<!-- Start Reference -->
|
87
|
+
|
88
|
+
<element name="Reference" type="ds:ReferenceType"/>
|
89
|
+
<complexType name="ReferenceType">
|
90
|
+
<sequence>
|
91
|
+
<element ref="ds:Transforms" minOccurs="0"/>
|
92
|
+
<element ref="ds:DigestMethod"/>
|
93
|
+
<element ref="ds:DigestValue"/>
|
94
|
+
</sequence>
|
95
|
+
<attribute name="Id" type="ID" use="optional"/>
|
96
|
+
<attribute name="URI" type="anyURI" use="optional"/>
|
97
|
+
<attribute name="Type" type="anyURI" use="optional"/>
|
98
|
+
</complexType>
|
99
|
+
|
100
|
+
<element name="Transforms" type="ds:TransformsType"/>
|
101
|
+
<complexType name="TransformsType">
|
102
|
+
<sequence>
|
103
|
+
<element ref="ds:Transform" maxOccurs="unbounded"/>
|
104
|
+
</sequence>
|
105
|
+
</complexType>
|
106
|
+
|
107
|
+
<element name="Transform" type="ds:TransformType"/>
|
108
|
+
<complexType name="TransformType" mixed="true">
|
109
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
110
|
+
<any namespace="##other" processContents="lax"/>
|
111
|
+
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
112
|
+
<element name="XPath" type="string"/>
|
113
|
+
</choice>
|
114
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
115
|
+
</complexType>
|
116
|
+
|
117
|
+
<!-- End Reference -->
|
118
|
+
|
119
|
+
<element name="DigestMethod" type="ds:DigestMethodType"/>
|
120
|
+
<complexType name="DigestMethodType" mixed="true">
|
121
|
+
<sequence>
|
122
|
+
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
123
|
+
</sequence>
|
124
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
125
|
+
</complexType>
|
126
|
+
|
127
|
+
<element name="DigestValue" type="ds:DigestValueType"/>
|
128
|
+
<simpleType name="DigestValueType">
|
129
|
+
<restriction base="base64Binary"/>
|
130
|
+
</simpleType>
|
131
|
+
|
132
|
+
<!-- End SignedInfo -->
|
133
|
+
|
134
|
+
<!-- Start KeyInfo -->
|
135
|
+
|
136
|
+
<element name="KeyInfo" type="ds:KeyInfoType"/>
|
137
|
+
<complexType name="KeyInfoType" mixed="true">
|
138
|
+
<choice maxOccurs="unbounded">
|
139
|
+
<element ref="ds:KeyName"/>
|
140
|
+
<element ref="ds:KeyValue"/>
|
141
|
+
<element ref="ds:RetrievalMethod"/>
|
142
|
+
<element ref="ds:X509Data"/>
|
143
|
+
<element ref="ds:PGPData"/>
|
144
|
+
<element ref="ds:SPKIData"/>
|
145
|
+
<element ref="ds:MgmtData"/>
|
146
|
+
<any processContents="lax" namespace="##other"/>
|
147
|
+
<!-- (1,1) elements from (0,unbounded) namespaces -->
|
148
|
+
</choice>
|
149
|
+
<attribute name="Id" type="ID" use="optional"/>
|
150
|
+
</complexType>
|
151
|
+
|
152
|
+
<element name="KeyName" type="string"/>
|
153
|
+
<element name="MgmtData" type="string"/>
|
154
|
+
|
155
|
+
<element name="KeyValue" type="ds:KeyValueType"/>
|
156
|
+
<complexType name="KeyValueType" mixed="true">
|
157
|
+
<choice>
|
158
|
+
<element ref="ds:DSAKeyValue"/>
|
159
|
+
<element ref="ds:RSAKeyValue"/>
|
160
|
+
<any namespace="##other" processContents="lax"/>
|
161
|
+
</choice>
|
162
|
+
</complexType>
|
163
|
+
|
164
|
+
<element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
|
165
|
+
<complexType name="RetrievalMethodType">
|
166
|
+
<sequence>
|
167
|
+
<element ref="ds:Transforms" minOccurs="0"/>
|
168
|
+
</sequence>
|
169
|
+
<attribute name="URI" type="anyURI"/>
|
170
|
+
<attribute name="Type" type="anyURI" use="optional"/>
|
171
|
+
</complexType>
|
172
|
+
|
173
|
+
<!-- Start X509Data -->
|
174
|
+
|
175
|
+
<element name="X509Data" type="ds:X509DataType"/>
|
176
|
+
<complexType name="X509DataType">
|
177
|
+
<sequence maxOccurs="unbounded">
|
178
|
+
<choice>
|
179
|
+
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
|
180
|
+
<element name="X509SKI" type="base64Binary"/>
|
181
|
+
<element name="X509SubjectName" type="string"/>
|
182
|
+
<element name="X509Certificate" type="base64Binary"/>
|
183
|
+
<element name="X509CRL" type="base64Binary"/>
|
184
|
+
<any namespace="##other" processContents="lax"/>
|
185
|
+
</choice>
|
186
|
+
</sequence>
|
187
|
+
</complexType>
|
188
|
+
|
189
|
+
<complexType name="X509IssuerSerialType">
|
190
|
+
<sequence>
|
191
|
+
<element name="X509IssuerName" type="string"/>
|
192
|
+
<element name="X509SerialNumber" type="integer"/>
|
193
|
+
</sequence>
|
194
|
+
</complexType>
|
195
|
+
|
196
|
+
<!-- End X509Data -->
|
197
|
+
|
198
|
+
<!-- Begin PGPData -->
|
199
|
+
|
200
|
+
<element name="PGPData" type="ds:PGPDataType"/>
|
201
|
+
<complexType name="PGPDataType">
|
202
|
+
<choice>
|
203
|
+
<sequence>
|
204
|
+
<element name="PGPKeyID" type="base64Binary"/>
|
205
|
+
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
|
206
|
+
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
207
|
+
</sequence>
|
208
|
+
<sequence>
|
209
|
+
<element name="PGPKeyPacket" type="base64Binary"/>
|
210
|
+
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
211
|
+
</sequence>
|
212
|
+
</choice>
|
213
|
+
</complexType>
|
214
|
+
|
215
|
+
<!-- End PGPData -->
|
216
|
+
|
217
|
+
<!-- Begin SPKIData -->
|
218
|
+
|
219
|
+
<element name="SPKIData" type="ds:SPKIDataType"/>
|
220
|
+
<complexType name="SPKIDataType">
|
221
|
+
<sequence maxOccurs="unbounded">
|
222
|
+
<element name="SPKISexp" type="base64Binary"/>
|
223
|
+
<any namespace="##other" processContents="lax" minOccurs="0"/>
|
224
|
+
</sequence>
|
225
|
+
</complexType>
|
226
|
+
|
227
|
+
<!-- End SPKIData -->
|
228
|
+
|
229
|
+
<!-- End KeyInfo -->
|
230
|
+
|
231
|
+
<!-- Start Object (Manifest, SignatureProperty) -->
|
232
|
+
|
233
|
+
<element name="Object" type="ds:ObjectType"/>
|
234
|
+
<complexType name="ObjectType" mixed="true">
|
235
|
+
<sequence minOccurs="0" maxOccurs="unbounded">
|
236
|
+
<any namespace="##any" processContents="lax"/>
|
237
|
+
</sequence>
|
238
|
+
<attribute name="Id" type="ID" use="optional"/>
|
239
|
+
<attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->
|
240
|
+
<attribute name="Encoding" type="anyURI" use="optional"/>
|
241
|
+
</complexType>
|
242
|
+
|
243
|
+
<element name="Manifest" type="ds:ManifestType"/>
|
244
|
+
<complexType name="ManifestType">
|
245
|
+
<sequence>
|
246
|
+
<element ref="ds:Reference" maxOccurs="unbounded"/>
|
247
|
+
</sequence>
|
248
|
+
<attribute name="Id" type="ID" use="optional"/>
|
249
|
+
</complexType>
|
250
|
+
|
251
|
+
<element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
|
252
|
+
<complexType name="SignaturePropertiesType">
|
253
|
+
<sequence>
|
254
|
+
<element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
|
255
|
+
</sequence>
|
256
|
+
<attribute name="Id" type="ID" use="optional"/>
|
257
|
+
</complexType>
|
258
|
+
|
259
|
+
<element name="SignatureProperty" type="ds:SignaturePropertyType"/>
|
260
|
+
<complexType name="SignaturePropertyType" mixed="true">
|
261
|
+
<choice maxOccurs="unbounded">
|
262
|
+
<any namespace="##other" processContents="lax"/>
|
263
|
+
<!-- (1,1) elements from (1,unbounded) namespaces -->
|
264
|
+
</choice>
|
265
|
+
<attribute name="Target" type="anyURI" use="required"/>
|
266
|
+
<attribute name="Id" type="ID" use="optional"/>
|
267
|
+
</complexType>
|
268
|
+
|
269
|
+
<!-- End Object (Manifest, SignatureProperty) -->
|
270
|
+
|
271
|
+
<!-- Start Algorithm Parameters -->
|
272
|
+
|
273
|
+
<simpleType name="HMACOutputLengthType">
|
274
|
+
<restriction base="integer"/>
|
275
|
+
</simpleType>
|
276
|
+
|
277
|
+
<!-- Start KeyValue Element-types -->
|
278
|
+
|
279
|
+
<element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
|
280
|
+
<complexType name="DSAKeyValueType">
|
281
|
+
<sequence>
|
282
|
+
<sequence minOccurs="0">
|
283
|
+
<element name="P" type="ds:CryptoBinary"/>
|
284
|
+
<element name="Q" type="ds:CryptoBinary"/>
|
285
|
+
</sequence>
|
286
|
+
<element name="G" type="ds:CryptoBinary" minOccurs="0"/>
|
287
|
+
<element name="Y" type="ds:CryptoBinary"/>
|
288
|
+
<element name="J" type="ds:CryptoBinary" minOccurs="0"/>
|
289
|
+
<sequence minOccurs="0">
|
290
|
+
<element name="Seed" type="ds:CryptoBinary"/>
|
291
|
+
<element name="PgenCounter" type="ds:CryptoBinary"/>
|
292
|
+
</sequence>
|
293
|
+
</sequence>
|
294
|
+
</complexType>
|
295
|
+
|
296
|
+
<element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
|
297
|
+
<complexType name="RSAKeyValueType">
|
298
|
+
<sequence>
|
299
|
+
<element name="Modulus" type="ds:CryptoBinary"/>
|
300
|
+
<element name="Exponent" type="ds:CryptoBinary"/>
|
301
|
+
</sequence>
|
302
|
+
</complexType>
|
303
|
+
|
304
|
+
<!-- End KeyValue Element-types -->
|
305
|
+
|
306
|
+
<!-- End Signature -->
|
307
|
+
|
308
|
+
</schema>
|