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,152 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<xsd:schema xmlns:xsd="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">
|
3
|
+
<!--VERS�O TISS 3.03.00 - TissMonitoramentoQualidadeV3_03_00-->
|
4
|
+
<xsd:include schemaLocation="tissSimpleTypesV3_03_01.xsd"/>
|
5
|
+
<xsd:include schemaLocation="tissComplexTypesV3_03_01.xsd"/>
|
6
|
+
<!-- Schema com a estrutura dos dados da mensagem contendo ocorr�ncias de poss�veis inconsistencias na base de lan�amentos de guias de atendimento das operadoras -->
|
7
|
+
<xsd:element name="mensagemEnvioANS">
|
8
|
+
<xsd:complexType>
|
9
|
+
<xsd:sequence>
|
10
|
+
<xsd:element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
11
|
+
<xsd:element name="Mensagem">
|
12
|
+
<xsd:complexType>
|
13
|
+
<xsd:sequence>
|
14
|
+
<xsd:element name="ansParaOperadora">
|
15
|
+
<xsd:complexType>
|
16
|
+
<xsd:sequence>
|
17
|
+
<xsd:element name="controleQualidade" type="ans:msgControleQualidade"/>
|
18
|
+
</xsd:sequence>
|
19
|
+
</xsd:complexType>
|
20
|
+
</xsd:element>
|
21
|
+
</xsd:sequence>
|
22
|
+
</xsd:complexType>
|
23
|
+
</xsd:element>
|
24
|
+
<xsd:element name="epilogo" type="ans:epilogo"/>
|
25
|
+
</xsd:sequence>
|
26
|
+
</xsd:complexType>
|
27
|
+
</xsd:element>
|
28
|
+
<xsd:complexType name="cabecalhoTransacao">
|
29
|
+
<xsd:sequence>
|
30
|
+
<xsd:element name="identificacaoTransacao">
|
31
|
+
<xsd:complexType>
|
32
|
+
<xsd:sequence>
|
33
|
+
<xsd:element name="tipoTransacao" type="ans:dm_tipoTransacaoQualidade"/>
|
34
|
+
<xsd:element name="numeroLote" type="ans:st_texto12"/>
|
35
|
+
<xsd:element name="competenciaLote" type="ans:st_competencia"/>
|
36
|
+
<xsd:element name="dataRegistroTransacao" type="ans:st_data"/>
|
37
|
+
<xsd:element name="horaRegistroTransacao" type="ans:st_hora"/>
|
38
|
+
</xsd:sequence>
|
39
|
+
</xsd:complexType>
|
40
|
+
</xsd:element>
|
41
|
+
<xsd:element name="registroANS" type="ans:st_registroANS"/>
|
42
|
+
<xsd:element name="versaoPadrao" type="ans:dm_versao_monitor"/>
|
43
|
+
</xsd:sequence>
|
44
|
+
</xsd:complexType>
|
45
|
+
<xsd:complexType name="msgControleQualidade">
|
46
|
+
<xsd:sequence>
|
47
|
+
<xsd:element name="guiaAtendimento" maxOccurs="10000">
|
48
|
+
<xsd:complexType>
|
49
|
+
<xsd:sequence>
|
50
|
+
<xsd:element name="contratadoExecutante">
|
51
|
+
<xsd:complexType>
|
52
|
+
<xsd:sequence>
|
53
|
+
<xsd:element name="CNES" type="ans:st_texto7"/>
|
54
|
+
<xsd:element name="identificadorExecutante" type="ans:dm_indicadorIdentificacao"/>
|
55
|
+
<xsd:element name="codigoCNPJ_CPF" type="ans:st_texto14"/>
|
56
|
+
</xsd:sequence>
|
57
|
+
</xsd:complexType>
|
58
|
+
</xsd:element>
|
59
|
+
<xsd:element name="numeroGuiaPrestador" type="ans:st_texto20"/>
|
60
|
+
<xsd:element name="numeroGuiaOperadora" type="ans:st_texto20"/>
|
61
|
+
<xsd:element name="identificadorReembolso" type="ans:st_texto20"/>
|
62
|
+
<xsd:element name="lancamentosRegistradosANS">
|
63
|
+
<xsd:complexType>
|
64
|
+
<xsd:sequence>
|
65
|
+
<xsd:element name="dataProcessamento" type="ans:st_data" minOccurs="1" maxOccurs="unbounded"/>
|
66
|
+
</xsd:sequence>
|
67
|
+
</xsd:complexType>
|
68
|
+
</xsd:element>
|
69
|
+
<xsd:element name="lancamentosCompetencia">
|
70
|
+
<xsd:complexType>
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="lancamento" maxOccurs="unbounded">
|
73
|
+
<xsd:complexType>
|
74
|
+
<xsd:sequence>
|
75
|
+
<xsd:element name="dataProcessamento" type="ans:st_data"/>
|
76
|
+
<xsd:element name="ocorrenciasLancamento" type="ans:ocorrenciaGrupoElementos" minOccurs="0"/>
|
77
|
+
<xsd:element name="itensLancamento" minOccurs="0">
|
78
|
+
<xsd:complexType>
|
79
|
+
<xsd:sequence>
|
80
|
+
<xsd:element name="procedimentoItemAssistencial" maxOccurs="unbounded">
|
81
|
+
<xsd:complexType>
|
82
|
+
<xsd:sequence>
|
83
|
+
<xsd:element name="codigoTabela" type="ans:dm_tabelaMonitor"/>
|
84
|
+
<xsd:element name="procedimento">
|
85
|
+
<xsd:complexType>
|
86
|
+
<xsd:choice>
|
87
|
+
<xsd:element name="grupoProcedimento" type="ans:st_texto3"/>
|
88
|
+
<xsd:element name="codigoProcedimento" type="ans:st_texto10"/>
|
89
|
+
</xsd:choice>
|
90
|
+
</xsd:complexType>
|
91
|
+
</xsd:element>
|
92
|
+
<xsd:element name="denteRegiao" minOccurs="0">
|
93
|
+
<xsd:complexType>
|
94
|
+
<xsd:choice>
|
95
|
+
<xsd:element name="codDente" type="ans:dm_dente"/>
|
96
|
+
<xsd:element name="codRegiao" type="ans:dm_regiao"/>
|
97
|
+
</xsd:choice>
|
98
|
+
</xsd:complexType>
|
99
|
+
</xsd:element>
|
100
|
+
<xsd:element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
|
101
|
+
<xsd:element name="ocorrenciasProcedimentoItemAssistencial" type="ans:ocorrenciaGrupoElementos" minOccurs="0"/>
|
102
|
+
<xsd:element name="detalhamentoPacote" minOccurs="0">
|
103
|
+
<xsd:complexType>
|
104
|
+
<xsd:sequence>
|
105
|
+
<xsd:element name="pacote" maxOccurs="unbounded">
|
106
|
+
<xsd:complexType>
|
107
|
+
<xsd:sequence>
|
108
|
+
<xsd:element name="codigoTabela" type="ans:dm_tabelaMonitor"/>
|
109
|
+
<xsd:element name="codigoProcedimento" type="ans:st_texto10"/>
|
110
|
+
<xsd:element name="ocorrenciasPacote" type="ans:ocorrenciaGrupoElementos"/>
|
111
|
+
</xsd:sequence>
|
112
|
+
</xsd:complexType>
|
113
|
+
</xsd:element>
|
114
|
+
</xsd:sequence>
|
115
|
+
</xsd:complexType>
|
116
|
+
</xsd:element>
|
117
|
+
</xsd:sequence>
|
118
|
+
</xsd:complexType>
|
119
|
+
</xsd:element>
|
120
|
+
</xsd:sequence>
|
121
|
+
</xsd:complexType>
|
122
|
+
</xsd:element>
|
123
|
+
</xsd:sequence>
|
124
|
+
</xsd:complexType>
|
125
|
+
</xsd:element>
|
126
|
+
</xsd:sequence>
|
127
|
+
</xsd:complexType>
|
128
|
+
</xsd:element>
|
129
|
+
</xsd:sequence>
|
130
|
+
</xsd:complexType>
|
131
|
+
</xsd:element>
|
132
|
+
</xsd:sequence>
|
133
|
+
</xsd:complexType>
|
134
|
+
<xsd:complexType name="epilogo">
|
135
|
+
<xsd:sequence>
|
136
|
+
<xsd:element name="hash" type="xsd:string"/>
|
137
|
+
</xsd:sequence>
|
138
|
+
</xsd:complexType>
|
139
|
+
<xsd:complexType name="ocorrenciaGrupoElementos">
|
140
|
+
<xsd:sequence>
|
141
|
+
<xsd:element name="ocorrencia" maxOccurs="unbounded">
|
142
|
+
<xsd:complexType>
|
143
|
+
<xsd:sequence>
|
144
|
+
<xsd:element name="identificadorCampo" type="ans:st_texto3"/>
|
145
|
+
<xsd:element name="conteudoCampo" type="xsd:string"/>
|
146
|
+
<xsd:element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
147
|
+
</xsd:sequence>
|
148
|
+
</xsd:complexType>
|
149
|
+
</xsd:element>
|
150
|
+
</xsd:sequence>
|
151
|
+
</xsd:complexType>
|
152
|
+
</xsd:schema>
|
@@ -0,0 +1,511 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<!-- edited with XMLSpy v2011 sp1 (http://www.altova.com) by End user (free.org) -->
|
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
|
+
<!--VERS�O TISS 3.03.01 - TissMonitoramentov3_03_01-->
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_03_01.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_03_01.xsd"/>
|
7
|
+
<!-- Schema com a estrutura dos dados a serem enviados pelas Operadoras a ANS-->
|
8
|
+
<element name="mensagemEnvioANS">
|
9
|
+
<complexType>
|
10
|
+
<sequence>
|
11
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
12
|
+
<element name="Mensagem">
|
13
|
+
<complexType>
|
14
|
+
<choice>
|
15
|
+
<element name="operadoraParaANS">
|
16
|
+
<complexType>
|
17
|
+
<choice>
|
18
|
+
<element name="semMovimentoInclusao" type="ans:dm_semMovimentoInclusao"/>
|
19
|
+
<element name="guiaMonitoramento" type="ans:ct_monitoramentoGuia" maxOccurs="10000"/>
|
20
|
+
<element name="fornecimentoDiretoMonitoramento" type="ans:ct_monitoramentoFornecimentoDireto" maxOccurs="10000"/>
|
21
|
+
<!-- NOVO -->
|
22
|
+
<element name="outraRemuneracaoMonitoramento" type="ans:ct_monitoramentoOutraRemuneracao" maxOccurs="10000"/>
|
23
|
+
<!-- NOVO -->
|
24
|
+
<element name="valorPreestabelecidoMonitoramento" type="ans:ct_monitoramentoValorPreestabelecido" maxOccurs="10000"/>
|
25
|
+
<!-- NOVO -->
|
26
|
+
</choice>
|
27
|
+
</complexType>
|
28
|
+
</element>
|
29
|
+
<element name="ansParaOperadora">
|
30
|
+
<complexType>
|
31
|
+
<choice>
|
32
|
+
<element name="arquivoRejeitado">
|
33
|
+
<complexType>
|
34
|
+
<sequence>
|
35
|
+
<element name="nomeArquivo" type="ans:st_texto20"/>
|
36
|
+
<element name="codigoRejeicao" type="ans:dm_tipoGlosa"/>
|
37
|
+
</sequence>
|
38
|
+
</complexType>
|
39
|
+
</element>
|
40
|
+
<element name="resumoProcessamento">
|
41
|
+
<complexType>
|
42
|
+
<sequence>
|
43
|
+
<element name="nomeArquivo" type="ans:st_texto20"/>
|
44
|
+
<element name="registrosRejeitados" minOccurs="0">
|
45
|
+
<complexType>
|
46
|
+
<choice>
|
47
|
+
<element name="guiaMonitoramento" maxOccurs="unbounded">
|
48
|
+
<complexType>
|
49
|
+
<sequence>
|
50
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
51
|
+
<element name="contratadoExecutante">
|
52
|
+
<complexType>
|
53
|
+
<sequence>
|
54
|
+
<element name="CNES" type="ans:st_texto7"/>
|
55
|
+
<element name="identificadorExecutante" type="ans:dm_indicadorIdentificacao"/>
|
56
|
+
<element name="codigoCNPJ_CPF" type="ans:st_texto14"/>
|
57
|
+
</sequence>
|
58
|
+
</complexType>
|
59
|
+
</element>
|
60
|
+
<element name="numeroGuiaPrestador" type="ans:st_texto20"/>
|
61
|
+
<element name="numeroGuiaOperadora" type="ans:st_texto20"/>
|
62
|
+
<element name="identificadorReembolso" type="ans:st_texto20"/>
|
63
|
+
<element name="dataProcessamento" type="ans:st_data"/>
|
64
|
+
<element name="errosGuia" minOccurs="0" maxOccurs="unbounded">
|
65
|
+
<complexType>
|
66
|
+
<sequence>
|
67
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
68
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
69
|
+
</sequence>
|
70
|
+
</complexType>
|
71
|
+
</element>
|
72
|
+
<element name="errosItensGuia" minOccurs="0" maxOccurs="unbounded">
|
73
|
+
<complexType>
|
74
|
+
<sequence>
|
75
|
+
<element name="identProcedimento">
|
76
|
+
<complexType>
|
77
|
+
<sequence>
|
78
|
+
<element name="codigoTabela" type="ans:dm_tabelaMonitor"/>
|
79
|
+
<element name="Procedimento">
|
80
|
+
<complexType>
|
81
|
+
<choice>
|
82
|
+
<element name="grupoProcedimento" type="ans:st_texto3"/>
|
83
|
+
<element name="codigoProcedimento" type="ans:st_texto10"/>
|
84
|
+
</choice>
|
85
|
+
</complexType>
|
86
|
+
</element>
|
87
|
+
</sequence>
|
88
|
+
</complexType>
|
89
|
+
</element>
|
90
|
+
<element name="denteRegiao" minOccurs="0">
|
91
|
+
<complexType>
|
92
|
+
<choice>
|
93
|
+
<element name="codDente" type="ans:dm_dente"/>
|
94
|
+
<element name="codRegiao" type="ans:dm_regiao"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
</element>
|
98
|
+
<element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
|
99
|
+
<element name="relacaoErros" maxOccurs="unbounded">
|
100
|
+
<complexType>
|
101
|
+
<sequence>
|
102
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
103
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
104
|
+
</sequence>
|
105
|
+
</complexType>
|
106
|
+
</element>
|
107
|
+
</sequence>
|
108
|
+
</complexType>
|
109
|
+
</element>
|
110
|
+
</sequence>
|
111
|
+
</complexType>
|
112
|
+
</element>
|
113
|
+
<element name="fornecimentoDiretoMonitoramento" maxOccurs="unbounded">
|
114
|
+
<!-- NOVO -->
|
115
|
+
<complexType>
|
116
|
+
<sequence>
|
117
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
118
|
+
<element name="identificacaoFornecimentoDireto" type="ans:st_texto20"/>
|
119
|
+
<element name="dataFornecimento" type="ans:st_data"/>
|
120
|
+
<element name="errosFornecimentoDireto" minOccurs="0" maxOccurs="unbounded">
|
121
|
+
<complexType>
|
122
|
+
<sequence>
|
123
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
124
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
125
|
+
</sequence>
|
126
|
+
</complexType>
|
127
|
+
</element>
|
128
|
+
<element name="errosItensFornecimentoDireto" minOccurs="0" maxOccurs="unbounded">
|
129
|
+
<complexType>
|
130
|
+
<sequence>
|
131
|
+
<element name="identProcedimento">
|
132
|
+
<complexType>
|
133
|
+
<sequence>
|
134
|
+
<element name="codigoTabela" type="ans:dm_tabela"/>
|
135
|
+
<element name="procedimento">
|
136
|
+
<complexType>
|
137
|
+
<choice>
|
138
|
+
<element name="grupoProcedimento" type="ans:st_grupoProcedimento"/>
|
139
|
+
<element name="codigoProcedimento" type="ans:st_codigoProcedimento"/>
|
140
|
+
</choice>
|
141
|
+
</complexType>
|
142
|
+
</element>
|
143
|
+
</sequence>
|
144
|
+
</complexType>
|
145
|
+
</element>
|
146
|
+
<element name="relacaoErros" maxOccurs="unbounded">
|
147
|
+
<complexType>
|
148
|
+
<sequence>
|
149
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
150
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
151
|
+
</sequence>
|
152
|
+
</complexType>
|
153
|
+
</element>
|
154
|
+
</sequence>
|
155
|
+
</complexType>
|
156
|
+
</element>
|
157
|
+
</sequence>
|
158
|
+
</complexType>
|
159
|
+
</element>
|
160
|
+
<element name="outraRemuneracaoMonitoramento" maxOccurs="unbounded">
|
161
|
+
<!-- NOVO -->
|
162
|
+
<complexType>
|
163
|
+
<sequence>
|
164
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
165
|
+
<element name="dataProcessamento" type="ans:st_dataPadrao"/>
|
166
|
+
<element name="dadosRecebedor">
|
167
|
+
<complexType>
|
168
|
+
<sequence>
|
169
|
+
<element name="identificadorRecebedor" type="ans:dm_indicadorIdentificacao"/>
|
170
|
+
<element name="codigoCNPJ_CPF" type="ans:st_CNPJCPFPadrao"/>
|
171
|
+
</sequence>
|
172
|
+
</complexType>
|
173
|
+
</element>
|
174
|
+
<element name="errosOutraRemuneracao" maxOccurs="unbounded">
|
175
|
+
<complexType>
|
176
|
+
<sequence>
|
177
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
178
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
179
|
+
</sequence>
|
180
|
+
</complexType>
|
181
|
+
</element>
|
182
|
+
</sequence>
|
183
|
+
</complexType>
|
184
|
+
</element>
|
185
|
+
<element name="valorPreestabelecidoMonitoramento" maxOccurs="unbounded">
|
186
|
+
<!-- NOVO -->
|
187
|
+
<complexType>
|
188
|
+
<sequence>
|
189
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
190
|
+
<element name="competenciaCoberturaContratada" type="ans:st_competencia"/>
|
191
|
+
<choice>
|
192
|
+
<element name="dadosContratadoExecutante">
|
193
|
+
<complexType>
|
194
|
+
<sequence>
|
195
|
+
<element name="CNES" type="ans:st_texto7Padrao"/>
|
196
|
+
<element name="identificadorExecutante" type="ans:dm_indicadorIdentificacao"/>
|
197
|
+
<element name="codigoCNPJ_CPF" type="ans:st_CNPJCPFPadrao"/>
|
198
|
+
<element name="municipioExecutante" type="ans:st_texto7Padrao"/>
|
199
|
+
</sequence>
|
200
|
+
</complexType>
|
201
|
+
</element>
|
202
|
+
<element name="registroANSOperadoraIntermediaria" type="ans:st_registroANS" minOccurs="1"/>
|
203
|
+
</choice>
|
204
|
+
<element name="identificacaoValorPreestabelecido" type="ans:st_texto20"/>
|
205
|
+
<element name="errosValorPreestabelecido" maxOccurs="unbounded">
|
206
|
+
<complexType>
|
207
|
+
<sequence>
|
208
|
+
<element name="identificadorCampo" type="ans:st_texto3"/>
|
209
|
+
<element name="codigoErro" type="ans:dm_tipoGlosa"/>
|
210
|
+
</sequence>
|
211
|
+
</complexType>
|
212
|
+
</element>
|
213
|
+
</sequence>
|
214
|
+
</complexType>
|
215
|
+
</element>
|
216
|
+
</choice>
|
217
|
+
</complexType>
|
218
|
+
</element>
|
219
|
+
<element name="resumoProcessamentoTotais">
|
220
|
+
<complexType>
|
221
|
+
<sequence>
|
222
|
+
<element name="registrosIncluidos" type="ans:st_numerico5"/>
|
223
|
+
<element name="registrosAlterados" type="ans:st_numerico5"/>
|
224
|
+
<element name="registrosExcluidos" type="ans:st_numerico5"/>
|
225
|
+
<element name="registrosComErros" type="ans:st_numerico5"/>
|
226
|
+
</sequence>
|
227
|
+
</complexType>
|
228
|
+
</element>
|
229
|
+
<element name="arquivoProcessadoPelaANS" type="ans:dm_tipoGlosa"/>
|
230
|
+
</sequence>
|
231
|
+
</complexType>
|
232
|
+
</element>
|
233
|
+
</choice>
|
234
|
+
</complexType>
|
235
|
+
</element>
|
236
|
+
</choice>
|
237
|
+
</complexType>
|
238
|
+
</element>
|
239
|
+
<element name="epilogo" type="ans:epilogo"/>
|
240
|
+
</sequence>
|
241
|
+
</complexType>
|
242
|
+
</element>
|
243
|
+
<complexType name="ct_monitoramentoGuia">
|
244
|
+
<sequence>
|
245
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
246
|
+
<element name="versaoTISSPrestador" type="ans:dm_versaoPrestador" minOccurs="0"/>
|
247
|
+
<element name="formaEnvio" type="ans:dm_formaEnvio"/>
|
248
|
+
<element name="dadosContratadoExecutante">
|
249
|
+
<complexType>
|
250
|
+
<sequence>
|
251
|
+
<element name="CNES" type="ans:st_texto7"/>
|
252
|
+
<element name="identificadorExecutante" type="ans:dm_indicadorIdentificacao"/>
|
253
|
+
<element name="codigoCNPJ_CPF" type="ans:st_texto14"/>
|
254
|
+
<element name="municipioExecutante" type="ans:st_texto7"/>
|
255
|
+
</sequence>
|
256
|
+
</complexType>
|
257
|
+
</element>
|
258
|
+
<element name="registroANSOperadoraIntermediaria" type="ans:st_registroANS" minOccurs="0"/>
|
259
|
+
<!-- NOVO -->
|
260
|
+
<element name="dadosBeneficiario">
|
261
|
+
<complexType>
|
262
|
+
<sequence>
|
263
|
+
<element name="identBeneficiario">
|
264
|
+
<complexType>
|
265
|
+
<choice>
|
266
|
+
<element name="numeroCartaoNacionalSaude" type="ans:st_texto15"/>
|
267
|
+
<element name="dadosSemCartao">
|
268
|
+
<complexType>
|
269
|
+
<sequence>
|
270
|
+
<element name="sexo" type="ans:dm_sexo"/>
|
271
|
+
<element name="dataNascimento" type="ans:st_data"/>
|
272
|
+
<element name="municipioResidencia" type="ans:st_texto7"/>
|
273
|
+
</sequence>
|
274
|
+
</complexType>
|
275
|
+
</element>
|
276
|
+
</choice>
|
277
|
+
</complexType>
|
278
|
+
</element>
|
279
|
+
<element name="numeroRegistroPlano" type="ans:st_texto20"/>
|
280
|
+
</sequence>
|
281
|
+
</complexType>
|
282
|
+
</element>
|
283
|
+
<element name="tipoEventoAtencao" type="ans:dm_tipoEventoMonitoramento"/>
|
284
|
+
<element name="origemEventoAtencao" type="ans:dm_origemEventoAtencaoSaude"/>
|
285
|
+
<element name="numeroGuia_prestador" type="ans:st_texto20"/>
|
286
|
+
<element name="numeroGuia_operadora" type="ans:st_texto20"/>
|
287
|
+
<element name="identificacaoReembolso" type="ans:st_texto20"/>
|
288
|
+
<element name="identificacaoValorPreestabelecido" type="ans:st_texto20" minOccurs="0"/>
|
289
|
+
<!-- NOVO -->
|
290
|
+
<element name="guiaSolicitacaoInternacao" type="ans:st_texto20" minOccurs="0"/>
|
291
|
+
<element name="dataSolicitacao" type="ans:st_data" minOccurs="0"/>
|
292
|
+
<element name="numeroGuiaSPSADTPrincipal" type="ans:st_texto20" minOccurs="0"/>
|
293
|
+
<!-- NOVO -->
|
294
|
+
<element name="dataAutorizacao" type="ans:st_data" minOccurs="0"/>
|
295
|
+
<element name="dataRealizacao" type="ans:st_data"/>
|
296
|
+
<element name="dataInicialFaturamento" type="ans:st_data" minOccurs="0"/>
|
297
|
+
<element name="dataFimPeriodo" type="ans:st_data" minOccurs="0"/>
|
298
|
+
<element name="dataProtocoloCobranca" type="ans:st_data"/>
|
299
|
+
<element name="dataPagamento" type="ans:st_data" minOccurs="0"/>
|
300
|
+
<element name="dataProcessamentoGuia" type="ans:st_data"/>
|
301
|
+
<element name="tipoConsulta" type="ans:st_texto1" minOccurs="0"/>
|
302
|
+
<element name="cboExecutante" type="ans:dm_CBOSmonitor" minOccurs="0"/>
|
303
|
+
<element name="indicacaoRecemNato" type="ans:dm_simNao" minOccurs="0"/>
|
304
|
+
<element name="indicacaoAcidente" type="ans:dm_indicadorAcidente" minOccurs="0"/>
|
305
|
+
<element name="caraterAtendimento" type="ans:dm_caraterMonitoramento" minOccurs="0"/>
|
306
|
+
<element name="tipoInternacao" type="ans:dm_tipoInternacaoMonitoramento" minOccurs="0"/>
|
307
|
+
<element name="regimeInternacao" type="ans:dm_regimeInternacao" minOccurs="0"/>
|
308
|
+
<element name="diagnosticosCID10" minOccurs="0">
|
309
|
+
<complexType>
|
310
|
+
<sequence>
|
311
|
+
<element name="diagnosticoCID" type="ans:st_texto4" maxOccurs="4"/>
|
312
|
+
</sequence>
|
313
|
+
</complexType>
|
314
|
+
</element>
|
315
|
+
<element name="tipoAtendimento" type="ans:dm_tipoAtendimento" minOccurs="0"/>
|
316
|
+
<element name="tipoFaturamento" type="ans:dm_tipoFaturamentoMonitoramento" minOccurs="0"/>
|
317
|
+
<element name="diariasAcompanhante" type="ans:st_numerico3" minOccurs="0"/>
|
318
|
+
<element name="diariasUTI" type="ans:st_numerico3" minOccurs="0"/>
|
319
|
+
<element name="motivoSaida" type="ans:st_texto2" minOccurs="0"/>
|
320
|
+
<element name="valoresGuia">
|
321
|
+
<complexType>
|
322
|
+
<sequence>
|
323
|
+
<element name="valorTotalInformado" type="ans:st_decimal10-2"/>
|
324
|
+
<element name="valorProcessado" type="ans:st_decimal10-2"/>
|
325
|
+
<element name="valorTotalPagoProcedimentos" type="ans:st_decimal10-2"/>
|
326
|
+
<element name="valorTotalDiarias" type="ans:st_decimal10-2"/>
|
327
|
+
<element name="valorTotalTaxas" type="ans:st_decimal10-2"/>
|
328
|
+
<element name="valorTotalMateriais" type="ans:st_decimal10-2"/>
|
329
|
+
<element name="valorTotalOPME" type="ans:st_decimal10-2"/>
|
330
|
+
<element name="valorTotalMedicamentos" type="ans:st_decimal10-2"/>
|
331
|
+
<element name="valorGlosaGuia" type="ans:st_decimal10-2"/>
|
332
|
+
<element name="valorPagoGuia" type="ans:st_decimal10-2"/>
|
333
|
+
<element name="valorPagoFornecedores" type="ans:st_decimal10-2"/>
|
334
|
+
<element name="valorTotalTabelaPropria" type="ans:st_decimal10-2"/>
|
335
|
+
<element name="valorTotalCoParticipacao" type="ans:st_decimal10-2"/>
|
336
|
+
<!-- NOVO -->
|
337
|
+
</sequence>
|
338
|
+
</complexType>
|
339
|
+
</element>
|
340
|
+
<element name="declaracaoNascido" type="ans:st_texto11" minOccurs="0" maxOccurs="8"/>
|
341
|
+
<element name="declaracaoObito" type="ans:st_texto11" minOccurs="0" maxOccurs="8"/>
|
342
|
+
<element name="procedimentos" maxOccurs="unbounded">
|
343
|
+
<complexType>
|
344
|
+
<sequence>
|
345
|
+
<element name="identProcedimento">
|
346
|
+
<complexType>
|
347
|
+
<sequence>
|
348
|
+
<element name="codigoTabela" type="ans:dm_tabelaMonitor"/>
|
349
|
+
<element name="Procedimento">
|
350
|
+
<complexType>
|
351
|
+
<choice>
|
352
|
+
<element name="grupoProcedimento" type="ans:st_texto3"/>
|
353
|
+
<element name="codigoProcedimento" type="ans:st_texto10"/>
|
354
|
+
</choice>
|
355
|
+
</complexType>
|
356
|
+
</element>
|
357
|
+
</sequence>
|
358
|
+
</complexType>
|
359
|
+
</element>
|
360
|
+
<element name="denteRegiao" minOccurs="0">
|
361
|
+
<complexType>
|
362
|
+
<choice>
|
363
|
+
<element name="codDente" type="ans:dm_dente"/>
|
364
|
+
<element name="codRegiao" type="ans:dm_regiao"/>
|
365
|
+
</choice>
|
366
|
+
</complexType>
|
367
|
+
</element>
|
368
|
+
<element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
|
369
|
+
<element name="quantidadeInformada" type="ans:st_decimal12-4"/>
|
370
|
+
<element name="valorInformado" type="ans:st_decimal10-2"/>
|
371
|
+
<element name="quantidadePaga" type="ans:st_decimal12-4"/>
|
372
|
+
<element name="valorPagoProc" type="ans:st_decimal10-2"/>
|
373
|
+
<element name="valorPagoFornecedor" type="ans:st_decimal10-2"/>
|
374
|
+
<element name="CNPJFornecedor" type="ans:st_CNPJ" minOccurs="0"/>
|
375
|
+
<element name="valorCoParticipacao" type="ans:st_decimal10-2"/>
|
376
|
+
<!-- NOVO -->
|
377
|
+
<element name="detalhePacote" minOccurs="0" maxOccurs="unbounded">
|
378
|
+
<complexType>
|
379
|
+
<sequence>
|
380
|
+
<element name="codigoTabela" type="ans:dm_tabelaPacote"/>
|
381
|
+
<element name="codigoProcedimento" type="ans:st_texto10"/>
|
382
|
+
<element name="quantidade" type="ans:st_decimal12-4"/>
|
383
|
+
</sequence>
|
384
|
+
</complexType>
|
385
|
+
</element>
|
386
|
+
</sequence>
|
387
|
+
</complexType>
|
388
|
+
</element>
|
389
|
+
</sequence>
|
390
|
+
</complexType>
|
391
|
+
<complexType name="ct_monitoramentoFornecimentoDireto">
|
392
|
+
<sequence>
|
393
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
394
|
+
<element name="dadosBeneficiario">
|
395
|
+
<complexType>
|
396
|
+
<sequence>
|
397
|
+
<element name="identBeneficiario">
|
398
|
+
<complexType>
|
399
|
+
<choice>
|
400
|
+
<element name="numeroCartaoNacionalSaude" type="ans:st_texto15Padrao"/>
|
401
|
+
<element name="dadosSemCartao">
|
402
|
+
<complexType>
|
403
|
+
<sequence>
|
404
|
+
<element name="sexo" type="ans:dm_sexo"/>
|
405
|
+
<element name="dataNascimento" type="ans:st_dataPadrao"/>
|
406
|
+
<element name="municipioResidencia" type="ans:st_texto7Padrao"/>
|
407
|
+
</sequence>
|
408
|
+
</complexType>
|
409
|
+
</element>
|
410
|
+
</choice>
|
411
|
+
</complexType>
|
412
|
+
</element>
|
413
|
+
<element name="numeroRegistroPlano" type="ans:st_texto20"/>
|
414
|
+
</sequence>
|
415
|
+
</complexType>
|
416
|
+
</element>
|
417
|
+
<element name="identificacaoFornecimentoDireto" type="ans:st_texto20"/>
|
418
|
+
<element name="dataFornecimento" type="ans:st_dataPadrao"/>
|
419
|
+
<element name="valorTotalFornecimento" type="ans:st_decimal10-2"/>
|
420
|
+
<element name="valorTotalTabelaPropria" type="ans:st_decimal10-2"/>
|
421
|
+
<element name="valorTotalCoParticipacao" type="ans:st_decimal10-2"/>
|
422
|
+
<element name="procedimentos" maxOccurs="unbounded">
|
423
|
+
<complexType>
|
424
|
+
<sequence>
|
425
|
+
<element name="identProcedimento">
|
426
|
+
<complexType>
|
427
|
+
<sequence>
|
428
|
+
<element name="codigoTabela" type="ans:dm_tabelaMonitor"/>
|
429
|
+
<element name="procedimento">
|
430
|
+
<complexType>
|
431
|
+
<choice>
|
432
|
+
<element name="grupoProcedimento" type="ans:st_grupoProcedimento"/>
|
433
|
+
<element name="codigoProcedimento" type="ans:st_codigoProcedimento"/>
|
434
|
+
</choice>
|
435
|
+
</complexType>
|
436
|
+
</element>
|
437
|
+
</sequence>
|
438
|
+
</complexType>
|
439
|
+
</element>
|
440
|
+
<element name="quantidadeFornecida" type="ans:st_numerico8"/>
|
441
|
+
<element name="valorFornecido" type="ans:st_decimal10-2"/>
|
442
|
+
<element name="valorCoParticipacao" type="ans:st_decimal10-2"/>
|
443
|
+
</sequence>
|
444
|
+
</complexType>
|
445
|
+
</element>
|
446
|
+
</sequence>
|
447
|
+
<!-- NOVO -->
|
448
|
+
</complexType>
|
449
|
+
<complexType name="ct_monitoramentoOutraRemuneracao">
|
450
|
+
<sequence>
|
451
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
452
|
+
<element name="dataProcessamento" type="ans:st_dataPadrao"/>
|
453
|
+
<element name="dadosRecebedor">
|
454
|
+
<complexType>
|
455
|
+
<sequence>
|
456
|
+
<element name="identificadorRecebedor" type="ans:dm_indicadorIdentificacao"/>
|
457
|
+
<element name="codigoCNPJ_CPF" type="ans:st_CNPJCPFPadrao"/>
|
458
|
+
</sequence>
|
459
|
+
</complexType>
|
460
|
+
</element>
|
461
|
+
<element name="valorTotalInformado" type="ans:st_decimal10-2"/>
|
462
|
+
<element name="valorTotalGlosa" type="ans:st_decimal10-2"/>
|
463
|
+
<element name="valorTotalPago" type="ans:st_decimal10-2"/>
|
464
|
+
</sequence>
|
465
|
+
<!-- NOVO -->
|
466
|
+
</complexType>
|
467
|
+
<complexType name="ct_monitoramentoValorPreestabelecido">
|
468
|
+
<sequence>
|
469
|
+
<element name="tipoRegistro" type="ans:dm_statusTransacaoMonitor"/>
|
470
|
+
<element name="competenciaCoberturaContratada" type="ans:st_competencia"/>
|
471
|
+
<choice>
|
472
|
+
<element name="dadosPrestador">
|
473
|
+
<complexType>
|
474
|
+
<sequence>
|
475
|
+
<element name="CNES" type="ans:st_texto7Padrao"/>
|
476
|
+
<element name="identificadorPrestador" type="ans:dm_indicadorIdentificacao"/>
|
477
|
+
<element name="codigoCNPJ_CPF" type="ans:st_CNPJCPFPadrao"/>
|
478
|
+
<element name="municipioPrestador" type="ans:st_texto7Padrao"/>
|
479
|
+
</sequence>
|
480
|
+
</complexType>
|
481
|
+
</element>
|
482
|
+
<element name="registroANSOperadoraIntermediaria" type="ans:st_registroANS"/>
|
483
|
+
</choice>
|
484
|
+
<element name="identificacaoValorPreestabelecido" type="ans:st_texto20"/>
|
485
|
+
<element name="valorPreestabelecido" type="ans:st_decimal10-2"/>
|
486
|
+
</sequence>
|
487
|
+
<!-- NOVO -->
|
488
|
+
</complexType>
|
489
|
+
<complexType name="epilogo">
|
490
|
+
<sequence>
|
491
|
+
<element name="hash" type="string"/>
|
492
|
+
</sequence>
|
493
|
+
</complexType>
|
494
|
+
<complexType name="cabecalhoTransacao">
|
495
|
+
<sequence>
|
496
|
+
<element name="identificacaoTransacao">
|
497
|
+
<complexType>
|
498
|
+
<sequence>
|
499
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacaoANS"/>
|
500
|
+
<element name="numeroLote" type="ans:st_texto12"/>
|
501
|
+
<element name="competenciaLote" type="ans:st_competencia"/>
|
502
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
503
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
504
|
+
</sequence>
|
505
|
+
</complexType>
|
506
|
+
</element>
|
507
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
508
|
+
<element name="versaoPadrao" type="ans:dm_versao_monitor"/>
|
509
|
+
</sequence>
|
510
|
+
</complexType>
|
511
|
+
</schema>
|