tiss-ruby 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +1 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +5 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +8 -0
  10. data/Gemfile.lock +111 -0
  11. data/LICENSE.txt +21 -0
  12. data/README.md +43 -0
  13. data/Rakefile +8 -0
  14. data/bin/console +15 -0
  15. data/bin/setup +8 -0
  16. data/lib/tiss/constants.rb +73 -0
  17. data/lib/tiss/creator.rb +52 -0
  18. data/lib/tiss/generator/generator.rb +20 -0
  19. data/lib/tiss/generator/generators/base_generator.rb +54 -0
  20. data/lib/tiss/generator/generators/model_generator.rb +36 -0
  21. data/lib/tiss/generator/generators/templates/model_template.erb +22 -0
  22. data/lib/tiss/generator/generators/templates/validator_template.erb +60 -0
  23. data/lib/tiss/generator/generators/validator_generator.rb +44 -0
  24. data/lib/tiss/model.rb +66 -0
  25. data/lib/tiss/models/anexo_clinico.rb +18 -0
  26. data/lib/tiss/models/anexo_clinico_prorrogacao.rb +18 -0
  27. data/lib/tiss/models/anexos_clinicos.rb +22 -0
  28. data/lib/tiss/models/anexos_guias_tiss.rb +22 -0
  29. data/lib/tiss/models/beneficiario.rb +18 -0
  30. data/lib/tiss/models/cabecalho_demonstrativo_odonto.rb +26 -0
  31. data/lib/tiss/models/cabecalho_guia.rb +11 -0
  32. data/lib/tiss/models/cabecalho_transacao.rb +36 -0
  33. data/lib/tiss/models/cod_profissional.rb +14 -0
  34. data/lib/tiss/models/codigo_contratado.rb +14 -0
  35. data/lib/tiss/models/contratado_executante.rb +11 -0
  36. data/lib/tiss/models/cpf_cnpj_contratado.rb +14 -0
  37. data/lib/tiss/models/ct_anexo_cabecalho.rb +34 -0
  38. data/lib/tiss/models/ct_anexo_lote.rb +14 -0
  39. data/lib/tiss/models/ct_anexo_recebimento.rb +38 -0
  40. data/lib/tiss/models/ct_autorizacao_dados.rb +36 -0
  41. data/lib/tiss/models/ct_autorizacao_internacao.rb +32 -0
  42. data/lib/tiss/models/ct_autorizacao_sadt.rb +32 -0
  43. data/lib/tiss/models/ct_autorizacao_solicita_status.rb +18 -0
  44. data/lib/tiss/models/ct_beneficiario_dados.rb +36 -0
  45. data/lib/tiss/models/ct_conta_medica_resumo.rb +52 -0
  46. data/lib/tiss/models/ct_contratado_dados.rb +22 -0
  47. data/lib/tiss/models/ct_contratado_profissional_dados.rb +26 -0
  48. data/lib/tiss/models/ct_credito_odonto.rb +14 -0
  49. data/lib/tiss/models/ct_dados_complementares_beneficiario.rb +26 -0
  50. data/lib/tiss/models/ct_dados_complementares_beneficiario_radio.rb +14 -0
  51. data/lib/tiss/models/ct_dados_resumo_demonstrativo.rb +34 -0
  52. data/lib/tiss/models/ct_demonstrativo_cabecalho.rb +26 -0
  53. data/lib/tiss/models/ct_demonstrativo_retorno.rb +26 -0
  54. data/lib/tiss/models/ct_demonstrativo_solicitacao.rb +14 -0
  55. data/lib/tiss/models/ct_descontos.rb +22 -0
  56. data/lib/tiss/models/ct_diagnostico.rb +18 -0
  57. data/lib/tiss/models/ct_diagnostico_oncologico.rb +34 -0
  58. data/lib/tiss/models/ct_drogas_solicitadas.rb +31 -0
  59. data/lib/tiss/models/ct_elegibilidade_recibo.rb +58 -0
  60. data/lib/tiss/models/ct_elegibilidade_verifica.rb +50 -0
  61. data/lib/tiss/models/ct_fonte_pagadora.rb +14 -0
  62. data/lib/tiss/models/ct_glosa_recibo.rb +54 -0
  63. data/lib/tiss/models/ct_glosa_recibo_odonto.rb +54 -0
  64. data/lib/tiss/models/ct_guia_cabecalho.rb +14 -0
  65. data/lib/tiss/models/ct_guia_cancelamento.rb +22 -0
  66. data/lib/tiss/models/ct_guia_cancelamento_recibo.rb +18 -0
  67. data/lib/tiss/models/ct_guia_dados.rb +44 -0
  68. data/lib/tiss/models/ct_guia_dados_anexo.rb +34 -0
  69. data/lib/tiss/models/ct_guia_dados_odonto.rb +66 -0
  70. data/lib/tiss/models/ct_guia_recurso.rb +26 -0
  71. data/lib/tiss/models/ct_guia_recurso_lote.rb +14 -0
  72. data/lib/tiss/models/ct_guia_valor_total.rb +38 -0
  73. data/lib/tiss/models/ct_guia_valor_total_sadt.rb +34 -0
  74. data/lib/tiss/models/ct_hipotese_diagnostica.rb +14 -0
  75. data/lib/tiss/models/ct_ident_equipe.rb +34 -0
  76. data/lib/tiss/models/ct_ident_equipe_sadt.rb +34 -0
  77. data/lib/tiss/models/ct_intervalo_ciclos.rb +14 -0
  78. data/lib/tiss/models/ct_login_senha.rb +14 -0
  79. data/lib/tiss/models/ct_lote_anexo_status.rb +26 -0
  80. data/lib/tiss/models/ct_lote_status.rb +30 -0
  81. data/lib/tiss/models/ct_motivo_glosa.rb +14 -0
  82. data/lib/tiss/models/ct_opm_utilizada.rb +14 -0
  83. data/lib/tiss/models/ct_opme_dados.rb +14 -0
  84. data/lib/tiss/models/ct_outras_despesas.rb +10 -0
  85. data/lib/tiss/models/ct_pagamento_dados.rb +26 -0
  86. data/lib/tiss/models/ct_pagamento_resumo.rb +22 -0
  87. data/lib/tiss/models/ct_prestador_identificacao.rb +18 -0
  88. data/lib/tiss/models/ct_procedimento_autorizado.rb +51 -0
  89. data/lib/tiss/models/ct_procedimento_dados.rb +18 -0
  90. data/lib/tiss/models/ct_procedimento_executado.rb +59 -0
  91. data/lib/tiss/models/ct_procedimento_executado_honor_indiv.rb +55 -0
  92. data/lib/tiss/models/ct_procedimento_executado_int.rb +55 -0
  93. data/lib/tiss/models/ct_procedimento_executado_odonto.rb +47 -0
  94. data/lib/tiss/models/ct_procedimento_executado_outras.rb +62 -0
  95. data/lib/tiss/models/ct_procedimento_executado_sadt.rb +55 -0
  96. data/lib/tiss/models/ct_procedimento_solicitado.rb +18 -0
  97. data/lib/tiss/models/ct_procedimentos_complementares.rb +18 -0
  98. data/lib/tiss/models/ct_protocolo_anexo_status.rb +18 -0
  99. data/lib/tiss/models/ct_protocolo_detalhe.rb +22 -0
  100. data/lib/tiss/models/ct_protocolo_detalhe_anexo.rb +26 -0
  101. data/lib/tiss/models/ct_protocolo_recebimento.rb +26 -0
  102. data/lib/tiss/models/ct_protocolo_recebimento_anexo.rb +30 -0
  103. data/lib/tiss/models/ct_protocolo_recebimento_recurso.rb +30 -0
  104. data/lib/tiss/models/ct_protocolo_recurso.rb +18 -0
  105. data/lib/tiss/models/ct_protocolo_solicitacao_status.rb +14 -0
  106. data/lib/tiss/models/ct_protocolo_status.rb +18 -0
  107. data/lib/tiss/models/ct_recebimento_lote.rb +14 -0
  108. data/lib/tiss/models/ct_recebimento_recurso.rb +14 -0
  109. data/lib/tiss/models/ct_recibo_cancela_guia.rb +14 -0
  110. data/lib/tiss/models/ct_recibo_comunicacao.rb +14 -0
  111. data/lib/tiss/models/ct_recurso_glosa_recebimento.rb +54 -0
  112. data/lib/tiss/models/ct_resposta_elegibilidade.rb +14 -0
  113. data/lib/tiss/models/ct_resposta_glosa.rb +22 -0
  114. data/lib/tiss/models/ct_resposta_glosa_guia_medica.rb +35 -0
  115. data/lib/tiss/models/ct_resposta_glosa_item_medico.rb +55 -0
  116. data/lib/tiss/models/ct_resposta_recurso_guia_odonto.rb +34 -0
  117. data/lib/tiss/models/ct_resposta_recurso_item_odonto.rb +26 -0
  118. data/lib/tiss/models/ct_situacao_autorizacao.rb +26 -0
  119. data/lib/tiss/models/ct_situacao_clinica.rb +10 -0
  120. data/lib/tiss/models/ct_situacao_inicial.rb +22 -0
  121. data/lib/tiss/models/ct_situacao_protocolo.rb +18 -0
  122. data/lib/tiss/models/ct_valor_credito_desconto.rb +18 -0
  123. data/lib/tiss/models/ct_valor_total.rb +18 -0
  124. data/lib/tiss/models/ctm_anexo_solicitacao_opme.rb +34 -0
  125. data/lib/tiss/models/ctm_anexo_solicitacao_quimio.rb +55 -0
  126. data/lib/tiss/models/ctm_anexo_solicitacao_radio.rb +59 -0
  127. data/lib/tiss/models/ctm_anexo_solicitante.rb +18 -0
  128. data/lib/tiss/models/ctm_autorizacao_internacao.rb +22 -0
  129. data/lib/tiss/models/ctm_autorizacao_opme.rb +30 -0
  130. data/lib/tiss/models/ctm_autorizacao_prorrogacao.rb +22 -0
  131. data/lib/tiss/models/ctm_autorizacao_quimio.rb +67 -0
  132. data/lib/tiss/models/ctm_autorizacao_radio.rb +71 -0
  133. data/lib/tiss/models/ctm_autorizacao_servico.rb +47 -0
  134. data/lib/tiss/models/ctm_beneficiario_comunicacao.rb +22 -0
  135. data/lib/tiss/models/ctm_beneficiario_comunicacao_recibo.rb +18 -0
  136. data/lib/tiss/models/ctm_consulta_atendimento.rb +18 -0
  137. data/lib/tiss/models/ctm_consulta_guia.rb +52 -0
  138. data/lib/tiss/models/ctm_demonstrativo_analise_conta.rb +34 -0
  139. data/lib/tiss/models/ctm_demonstrativo_pagamento.rb +26 -0
  140. data/lib/tiss/models/ctm_guia_lote.rb +14 -0
  141. data/lib/tiss/models/ctm_honorario_individual_guia.rb +58 -0
  142. data/lib/tiss/models/ctm_internacao_dados.rb +42 -0
  143. data/lib/tiss/models/ctm_internacao_dados_saida.rb +18 -0
  144. data/lib/tiss/models/ctm_internacao_resumo_guia.rb +54 -0
  145. data/lib/tiss/models/ctm_internacao_solicitacao_guia.rb +65 -0
  146. data/lib/tiss/models/ctm_prorrogacao_solicitacao_guia.rb +50 -0
  147. data/lib/tiss/models/ctm_recurso_glosa.rb +50 -0
  148. data/lib/tiss/models/ctm_solicitacao_lote.rb +22 -0
  149. data/lib/tiss/models/ctm_sp_sadt_atendimento.rb +22 -0
  150. data/lib/tiss/models/ctm_sp_sadt_guia.rb +54 -0
  151. data/lib/tiss/models/ctm_sp_sadt_solicitacao_guia.rb +65 -0
  152. data/lib/tiss/models/cto_anexo_situacao_inicial.rb +34 -0
  153. data/lib/tiss/models/cto_anexo_situacao_inicialna_gto.rb +22 -0
  154. data/lib/tiss/models/cto_autorizacao_servico.rb +52 -0
  155. data/lib/tiss/models/cto_demonstrativo_odontologia.rb +42 -0
  156. data/lib/tiss/models/cto_guia_odontologia.rb +108 -0
  157. data/lib/tiss/models/cto_odonto_solicitacao_guia.rb +110 -0
  158. data/lib/tiss/models/cto_recurso_glosa_odonto.rb +50 -0
  159. data/lib/tiss/models/dados_beneficiario.rb +28 -0
  160. data/lib/tiss/models/dados_conta.rb +10 -0
  161. data/lib/tiss/models/dados_contratado.rb +22 -0
  162. data/lib/tiss/models/dados_contratado_executante.rb +18 -0
  163. data/lib/tiss/models/dados_executante.rb +22 -0
  164. data/lib/tiss/models/dados_guia.rb +18 -0
  165. data/lib/tiss/models/dados_guias_protocolo.rb +14 -0
  166. data/lib/tiss/models/dados_hospital_solicitado.rb +18 -0
  167. data/lib/tiss/models/dados_internacao.rb +54 -0
  168. data/lib/tiss/models/dados_pagamento.rb +71 -0
  169. data/lib/tiss/models/dados_pagamento_guia.rb +58 -0
  170. data/lib/tiss/models/dados_pagamento_por_data.rb +26 -0
  171. data/lib/tiss/models/dados_prestador.rb +26 -0
  172. data/lib/tiss/models/dados_profissionais_responsaveis.rb +58 -0
  173. data/lib/tiss/models/dados_resumo.rb +10 -0
  174. data/lib/tiss/models/dados_solicitacao.rb +18 -0
  175. data/lib/tiss/models/dados_solicitante.rb +14 -0
  176. data/lib/tiss/models/deb_cred_demonstrativo.rb +10 -0
  177. data/lib/tiss/models/deb_cred_por_data_pagamento.rb +10 -0
  178. data/lib/tiss/models/debitos_creditos_por_data.rb +10 -0
  179. data/lib/tiss/models/declaracoes.rb +22 -0
  180. data/lib/tiss/models/demonstrativo_analise.rb +18 -0
  181. data/lib/tiss/models/demonstrativo_pagamento.rb +22 -0
  182. data/lib/tiss/models/dente_regiao.rb +14 -0
  183. data/lib/tiss/models/dentes.rb +14 -0
  184. data/lib/tiss/models/despesa.rb +24 -0
  185. data/lib/tiss/models/destino.rb +14 -0
  186. data/lib/tiss/models/detalhes_guia.rb +43 -0
  187. data/lib/tiss/models/diagnostico_oncologico_quimioterapia.rb +33 -0
  188. data/lib/tiss/models/diagnostico_oncologico_radio.rb +14 -0
  189. data/lib/tiss/models/drogas_solicitadas.rb +10 -0
  190. data/lib/tiss/models/epilogo.rb +10 -0
  191. data/lib/tiss/models/glosa_anexo.rb +14 -0
  192. data/lib/tiss/models/glosa_guia.rb +10 -0
  193. data/lib/tiss/models/glosa_protocolo.rb +14 -0
  194. data/lib/tiss/models/glosas_procedimento.rb +14 -0
  195. data/lib/tiss/models/guias_canceladas.rb +10 -0
  196. data/lib/tiss/models/guias_cancelamento.rb +14 -0
  197. data/lib/tiss/models/guias_medicas.rb +10 -0
  198. data/lib/tiss/models/guias_odonto.rb +10 -0
  199. data/lib/tiss/models/guias_recurso.rb +22 -0
  200. data/lib/tiss/models/guias_tiss.rb +34 -0
  201. data/lib/tiss/models/hipoteses_diagnosticas.rb +14 -0
  202. data/lib/tiss/models/ident_equipe.rb +10 -0
  203. data/lib/tiss/models/identificacao_opm.rb +26 -0
  204. data/lib/tiss/models/identificacao_solicitante.rb +14 -0
  205. data/lib/tiss/models/identificacao_transacao.rb +22 -0
  206. data/lib/tiss/models/itens_guia.rb +47 -0
  207. data/lib/tiss/models/local_contratado.rb +18 -0
  208. data/lib/tiss/models/lote.rb +14 -0
  209. data/lib/tiss/models/lote_anexo.rb +14 -0
  210. data/lib/tiss/models/mensagem_tiss.rb +27 -0
  211. data/lib/tiss/models/motivos_glosa.rb +10 -0
  212. data/lib/tiss/models/motivos_negativa.rb +10 -0
  213. data/lib/tiss/models/opcao_recurso.rb +14 -0
  214. data/lib/tiss/models/opcao_recurso_guia.rb +18 -0
  215. data/lib/tiss/models/operadora_prestador.rb +50 -0
  216. data/lib/tiss/models/opm.rb +10 -0
  217. data/lib/tiss/models/opme_solicitada.rb +34 -0
  218. data/lib/tiss/models/opme_solicitadas.rb +10 -0
  219. data/lib/tiss/models/origem.rb +14 -0
  220. data/lib/tiss/models/pagamentos.rb +10 -0
  221. data/lib/tiss/models/pagamentos_por_data.rb +26 -0
  222. data/lib/tiss/models/periodo.rb +14 -0
  223. data/lib/tiss/models/periodo_proc.rb +14 -0
  224. data/lib/tiss/models/prestador_autorizado.rb +14 -0
  225. data/lib/tiss/models/prestador_operadora.rb +50 -0
  226. data/lib/tiss/models/procedimento.rb +18 -0
  227. data/lib/tiss/models/procedimento_realizado.rb +11 -0
  228. data/lib/tiss/models/procedimento_solicitado.rb +34 -0
  229. data/lib/tiss/models/procedimentos_adicionais.rb +14 -0
  230. data/lib/tiss/models/procedimentos_autorizados.rb +48 -0
  231. data/lib/tiss/models/procedimentos_complementares.rb +11 -0
  232. data/lib/tiss/models/procedimentos_executados.rb +51 -0
  233. data/lib/tiss/models/procedimentos_realizados.rb +10 -0
  234. data/lib/tiss/models/procedimentos_solicitados.rb +54 -0
  235. data/lib/tiss/models/profissionais.rb +34 -0
  236. data/lib/tiss/models/protocolos.rb +22 -0
  237. data/lib/tiss/models/recebimento_anexo.rb +14 -0
  238. data/lib/tiss/models/recibo_glosa_status.rb +42 -0
  239. data/lib/tiss/models/recurso_guia.rb +58 -0
  240. data/lib/tiss/models/recurso_guia_completa.rb +14 -0
  241. data/lib/tiss/models/recurso_procedimento.rb +55 -0
  242. data/lib/tiss/models/recurso_protocolo.rb +23 -0
  243. data/lib/tiss/models/relacao_glosa.rb +14 -0
  244. data/lib/tiss/models/relacao_guias.rb +70 -0
  245. data/lib/tiss/models/resposta_elegibilidade.rb +14 -0
  246. data/lib/tiss/models/servicos_autorizados.rb +10 -0
  247. data/lib/tiss/models/situacao_demonstrativo_retorno.rb +34 -0
  248. data/lib/tiss/models/totais_bruto_demonstrativo.rb +26 -0
  249. data/lib/tiss/models/totais_brutos_demonstrativo.rb +22 -0
  250. data/lib/tiss/models/totais_brutos_por_data.rb +22 -0
  251. data/lib/tiss/models/totais_demonstrativo.rb +18 -0
  252. data/lib/tiss/models/totais_liquidos_demonstrativo.rb +18 -0
  253. data/lib/tiss/models/totais_liquidos_por_data.rb +18 -0
  254. data/lib/tiss/models/totais_por_data.rb +26 -0
  255. data/lib/tiss/models/totais_por_protocolo.rb +26 -0
  256. data/lib/tiss/models/total_liquido_por_data.rb +18 -0
  257. data/lib/tiss/models/tratamentos_anteriores.rb +30 -0
  258. data/lib/tiss/tiss.rb +39 -0
  259. data/lib/tiss/version.rb +5 -0
  260. data/lib/tiss/xsd/class_maker.rb +242 -0
  261. data/lib/tiss/xsd/convert.rb +26 -0
  262. data/lib/tiss-ruby.rb +3 -0
  263. data/lib/xsd/class_maker.rb +219 -0
  264. data/lib/xsd/convert.rb +26 -0
  265. data/resources/TabelasDominio.doc +0 -0
  266. data/resources/tissAssinaturaDigital_v1.01.xsd +16 -0
  267. data/resources/tissComplexTypesV3_02_00.xsd +1370 -0
  268. data/resources/tissComplexTypesV3_02_01.xsd +1370 -0
  269. data/resources/tissComplexTypesV3_02_02.xsd +1370 -0
  270. data/resources/tissComplexTypesV3_03_01.xsd +1372 -0
  271. data/resources/tissComplexTypesV3_03_02.xsd +1372 -0
  272. data/resources/tissComplexTypesV3_03_03.xsd +1372 -0
  273. data/resources/tissComplexTypesV3_04_00.xsd +1406 -0
  274. data/resources/tissGuiasV3_02_00.xsd +1387 -0
  275. data/resources/tissGuiasV3_02_01.xsd +1388 -0
  276. data/resources/tissGuiasV3_02_02.xsd +1389 -0
  277. data/resources/tissGuiasV3_03_01.xsd +1402 -0
  278. data/resources/tissGuiasV3_03_02.xsd +1401 -0
  279. data/resources/tissGuiasV3_03_03.xsd +1401 -0
  280. data/resources/tissGuiasV3_04_00.xsd +1387 -0
  281. data/resources/tissSimpleTypesV3_02_00.xsd +3158 -0
  282. data/resources/tissSimpleTypesV3_02_01.xsd +3597 -0
  283. data/resources/tissSimpleTypesV3_02_02.xsd +3830 -0
  284. data/resources/tissSimpleTypesV3_03_01.xsd +4120 -0
  285. data/resources/tissSimpleTypesV3_03_02.xsd +4144 -0
  286. data/resources/tissSimpleTypesV3_03_03.xsd +4163 -0
  287. data/resources/tissSimpleTypesV3_04_00.xsd +4233 -0
  288. data/resources/tissV3_02_00.xsd +118 -0
  289. data/resources/tissV3_02_01.xsd +118 -0
  290. data/resources/tissV3_02_02.xsd +121 -0
  291. data/resources/tissV3_03_01.xsd +118 -0
  292. data/resources/tissV3_03_02.xsd +118 -0
  293. data/resources/tissV3_03_03.xsd +118 -0
  294. data/resources/tissV3_04_00.xsd +118 -0
  295. data/resources/xmldsig-core-schema.xsd +309 -0
  296. data/tiss-ruby.gemspec +55 -0
  297. metadata +569 -0
@@ -0,0 +1,1387 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" 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">
3
+ <!--VERS�O TISS 3.04.00 - TissGuiasv3_04_00-->
4
+ <include schemaLocation="tissAssinaturaDigital_v1.01.xsd"/>
5
+ <include schemaLocation="tissSimpleTypesV3_04_00.xsd"/>
6
+ <include schemaLocation="tissComplexTypesV3_04_00.xsd"/>
7
+ <!--************************************************ OPME SOLICITA��O ************************************ -->
8
+ <complexType name="ctm_anexoSolicitacaoOPME">
9
+ <sequence>
10
+ <element name="cabecalhoAnexo" type="ans:ct_anexoCabecalho"/>
11
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
12
+ <element name="profissionalSolicitante" type="ans:ctm_anexoSolicitante"/>
13
+ <element name="justificativaTecnica" type="ans:st_texto1000"/>
14
+ <element name="especificacaoMaterial" type="ans:st_texto500" minOccurs="0"/>
15
+ <element name="opmeSolicitadas">
16
+ <complexType>
17
+ <sequence>
18
+ <element name="opmeSolicitada" maxOccurs="unbounded">
19
+ <complexType>
20
+ <sequence>
21
+ <element name="identificacaoOPME" type="ans:ct_procedimentoDados"/>
22
+ <element name="opcaoFabricante" type="ans:dm_opcaoFabricante"/>
23
+ <element name="quantidadeSolicitada" type="ans:st_numerico3"/>
24
+ <element name="valorSolicitado" type="ans:st_decimal8-2" minOccurs="0"/>
25
+ <element name="registroANVISA" type="ans:st_texto15" minOccurs="0"/>
26
+ <element name="codigoRefFabricante" type="ans:st_texto60" minOccurs="0"/>
27
+ <element name="autorizacaoFuncionamento" type="ans:st_texto30" minOccurs="0"/>
28
+ </sequence>
29
+ </complexType>
30
+ </element>
31
+ </sequence>
32
+ </complexType>
33
+ </element>
34
+ <element name="Observacao" type="ans:st_texto500" minOccurs="0"/>
35
+ </sequence>
36
+ </complexType>
37
+ <!--************************************************ QUIMIOTERAPIA ************************************ -->
38
+ <complexType name="ctm_anexoSolicitacaoQuimio">
39
+ <sequence>
40
+ <element name="cabecalhoAnexo" type="ans:ct_anexoCabecalho"/>
41
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
42
+ <element name="dadosComplementaresBeneficiario" type="ans:ct_dadosComplementaresBeneficiario"/>
43
+ <element name="medicoSolicitante" type="ans:ctm_anexoSolicitante"/>
44
+ <element name="diagnosticoOncologicoQuimioterapia">
45
+ <complexType>
46
+ <sequence>
47
+ <element name="diagQuimio" type="ans:ct_diagnosticoOncologico"/>
48
+ <element name="tumor" type="ans:dm_tumor"/>
49
+ <element name="nodulo" type="ans:dm_nodulo"/>
50
+ <element name="metastase" type="ans:dm_metastase"/>
51
+ <element name="tipoQuimioterapia" type="ans:dm_tipoQuimioterapia"/>
52
+ <element name="planoTerapeutico" type="ans:st_texto1000"/>
53
+ </sequence>
54
+ </complexType>
55
+ </element>
56
+ <element name="drogasSolicitadas">
57
+ <complexType>
58
+ <sequence>
59
+ <element name="drogaSolicitada" type="ans:ct_drogasSolicitadas" maxOccurs="unbounded"/>
60
+ </sequence>
61
+ </complexType>
62
+ </element>
63
+ <element name="tratamentosAnteriores" minOccurs="0">
64
+ <complexType>
65
+ <sequence>
66
+ <element name="cirurgia" type="ans:st_texto40" minOccurs="0"/>
67
+ <element name="datacirurgia" type="ans:st_data" minOccurs="0"/>
68
+ <element name="areaIrradiada" type="ans:st_texto40" minOccurs="0"/>
69
+ <element name="dataIrradiacao" type="ans:st_data" minOccurs="0"/>
70
+ </sequence>
71
+ </complexType>
72
+ </element>
73
+ <element name="numeroCiclos" type="ans:st_numerico2"/>
74
+ <element name="cicloAtual" type="ans:st_numerico2"/>
75
+ <element name="diasCicloAtual" type="ans:st_numerico3"/>
76
+ <element name="intervaloCiclos" type="ans:st_numerico3"/>
77
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
78
+ </sequence>
79
+ </complexType>
80
+ <!--************************************************ RADIOTERAPIA ************************************ -->
81
+ <complexType name="ctm_anexoSolicitacaoRadio">
82
+ <sequence>
83
+ <element name="cabecalhoAnexo" type="ans:ct_anexoCabecalho"/>
84
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
85
+ <element name="dadosComplementaresBeneficiario" type="ans:ct_dadosComplementaresBeneficiarioRadio"/>
86
+ <element name="medicoSolicitante" type="ans:ctm_anexoSolicitante"/>
87
+ <element name="diagnosticoOncologicoRadio">
88
+ <complexType>
89
+ <sequence>
90
+ <element name="diagRadio" type="ans:ct_diagnosticoOncologico"/>
91
+ <element name="diagnosticoImagem" type="ans:dm_diagnosticoImagem" minOccurs="0"/>
92
+ </sequence>
93
+ </complexType>
94
+ </element>
95
+ <element name="tratamentosAnteriores" minOccurs="0">
96
+ <complexType>
97
+ <sequence>
98
+ <element name="cirurgia" type="ans:st_texto40" minOccurs="0"/>
99
+ <element name="datacirurgia" type="ans:st_data" minOccurs="0"/>
100
+ <element name="quimioterapia" type="ans:st_texto40" minOccurs="0"/>
101
+ <element name="dataQuimioterapia" type="ans:st_data" minOccurs="0"/>
102
+ </sequence>
103
+ </complexType>
104
+ </element>
105
+ <element name="numeroCampos" type="ans:st_numerico3"/>
106
+ <element name="doseCampo" type="ans:st_numerico4"/>
107
+ <element name="doseTotal" type="ans:st_numerico4"/>
108
+ <element name="nrDias" type="ans:st_numerico3"/>
109
+ <element name="dtPrevistaInicio" type="ans:st_data"/>
110
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
111
+ </sequence>
112
+ </complexType>
113
+ <!--******************************************************** Fim da Radioterapia ***************************************************** -->
114
+ <complexType name="ctm_anexoSolicitante">
115
+ <sequence>
116
+ <element name="nomeProfissional" type="ans:st_texto70"/>
117
+ <element name="telefoneProfissional" type="ans:st_texto11"/>
118
+ <element name="emailProfissional" type="ans:st_texto60" minOccurs="0"/>
119
+ </sequence>
120
+ </complexType>
121
+ <!-- Utilizado na resposta da operadora na autoriza��o de solic prorroga��o de interna��o -->
122
+ <complexType name="ctm_autorizacaoProrrogacao">
123
+ <sequence>
124
+ <element name="autorizacaoDosServicos" type="ans:ctm_autorizacaoServico"/>
125
+ <element name="diariasAutorizadas" type="ans:st_numerico3" minOccurs="0"/>
126
+ <element name="acomodacaoAutorizada" type="ans:dm_tipoAcomodacao" minOccurs="0"/>
127
+ <element name="justificativaOperadora" type="ans:st_texto500" minOccurs="0"/>
128
+ </sequence>
129
+ </complexType>
130
+ <!-- Utilizado na resposta da operadora na autoriza��o de solicitacao de interna��o -->
131
+ <complexType name="ctm_autorizacaoInternacao">
132
+ <sequence>
133
+ <element name="autorizacaoDosServicos" type="ans:ctm_autorizacaoServico"/>
134
+ <element name="dataProvavelAdmissao" type="ans:st_data" minOccurs="0"/>
135
+ <element name="qtdDiariasAutorizadas" type="ans:st_numerico3" minOccurs="0"/>
136
+ <element name="tipoAcomodacaoAutorizada" type="ans:dm_tipoAcomodacao" minOccurs="0"/>
137
+ </sequence>
138
+ </complexType>
139
+ <!-- Utilizado na resposta da operadora ao recebimento dos anexo de soliccita��o de OPME -->
140
+ <complexType name="ctm_autorizacaoOPME">
141
+ <sequence>
142
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoDados"/>
143
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
144
+ <element name="statusSolicitacao" type="ans:dm_statusSolicitacao"/>
145
+ <element name="motivosNegativa" minOccurs="0">
146
+ <complexType>
147
+ <sequence>
148
+ <element name="motivoNegativa" type="ans:ct_motivoGlosa" maxOccurs="unbounded"/>
149
+ </sequence>
150
+ </complexType>
151
+ </element>
152
+ <element name="prestadorAutorizado" type="ans:ct_contratadoDados" minOccurs="0"/>
153
+ <element name="servicosAutorizadosOPME" minOccurs="0" maxOccurs="unbounded">
154
+ <complexType>
155
+ <complexContent>
156
+ <extension base="ans:ct_procedimentoAutorizado"/>
157
+ </complexContent>
158
+ </complexType>
159
+ </element>
160
+ </sequence>
161
+ </complexType>
162
+ <complexType name="ctm_autorizacaoRadio">
163
+ <sequence>
164
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoDados"/>
165
+ <element name="numeroCarteira" type="ans:st_texto20"/>
166
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
167
+ <element name="numeroCNS" type="ans:st_texto15" minOccurs="0"/>
168
+ <element name="statusSolicitacao" type="ans:dm_statusSolicitacao"/>
169
+ <element name="dadosComplementaresBeneficiario" type="ans:ct_dadosComplementaresBeneficiarioRadio"/>
170
+ <element name="medicoSolicitante" type="ans:ctm_anexoSolicitante"/>
171
+ <element name="diagnosticoOncologicoRadio">
172
+ <complexType>
173
+ <sequence>
174
+ <element name="diagRadio" type="ans:ct_diagnosticoOncologico"/>
175
+ <element name="diagnosticoImagem" type="ans:dm_diagnosticoImagem" minOccurs="0"/>
176
+ </sequence>
177
+ </complexType>
178
+ </element>
179
+ <element name="tratamentosAnteriores" minOccurs="0">
180
+ <complexType>
181
+ <sequence>
182
+ <element name="cirurgia" type="ans:st_texto40" minOccurs="0"/>
183
+ <element name="datacirurgia" type="ans:st_data" minOccurs="0"/>
184
+ <element name="quimioterapia" type="ans:st_texto40" minOccurs="0"/>
185
+ <element name="dataQuimioterapia" type="ans:st_data" minOccurs="0"/>
186
+ </sequence>
187
+ </complexType>
188
+ </element>
189
+ <element name="numeroCampos" type="ans:st_numerico3"/>
190
+ <element name="doseCampo" type="ans:st_numerico4"/>
191
+ <element name="doseTotal" type="ans:st_numerico4"/>
192
+ <element name="nrDias" type="ans:st_numerico3"/>
193
+ <element name="dtPrevistaInicio" type="ans:st_data"/>
194
+ <element name="motivosNegativa" minOccurs="0">
195
+ <complexType>
196
+ <sequence>
197
+ <element name="motivoNegativa" type="ans:ct_motivoGlosa" maxOccurs="unbounded"/>
198
+ </sequence>
199
+ </complexType>
200
+ </element>
201
+ </sequence>
202
+ </complexType>
203
+ <complexType name="ctm_autorizacaoQuimio">
204
+ <sequence>
205
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoDados"/>
206
+ <element name="numeroCarteira" type="ans:st_texto20"/>
207
+ <element name="statusSolicitacao" type="ans:dm_statusSolicitacao"/>
208
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
209
+ <element name="numeroCNS" type="ans:st_texto15" minOccurs="0"/>
210
+ <element name="dadosComplementaresBeneficiario" type="ans:ct_dadosComplementaresBeneficiario"/>
211
+ <element name="medicoSolicitante" type="ans:ctm_anexoSolicitante"/>
212
+ <element name="diagnosticoOncologicoQuimioterapia">
213
+ <complexType>
214
+ <sequence>
215
+ <element name="diagQuimio" type="ans:ct_diagnosticoOncologico"/>
216
+ <element name="tumor" type="ans:dm_tumor"/>
217
+ <element name="nodulo" type="ans:dm_nodulo"/>
218
+ <element name="metastase" type="ans:dm_metastase"/>
219
+ <element name="tipoQuimioterapia" type="ans:dm_tipoQuimioterapia"/>
220
+ <element name="planoTerapeutico" type="ans:st_texto1000"/>
221
+ </sequence>
222
+ </complexType>
223
+ </element>
224
+ <element name="drogasSolicitadas">
225
+ <complexType>
226
+ <sequence>
227
+ <element name="drogaSolicitada" type="ans:ct_drogasSolicitadas" maxOccurs="unbounded"/>
228
+ </sequence>
229
+ </complexType>
230
+ </element>
231
+ <element name="tratamentosAnteriores" minOccurs="0">
232
+ <complexType>
233
+ <sequence>
234
+ <element name="cirurgia" type="ans:st_texto40" minOccurs="0"/>
235
+ <element name="datacirurgia" type="ans:st_data" minOccurs="0"/>
236
+ <element name="areaIrradiada" type="ans:st_texto40" minOccurs="0"/>
237
+ <element name="dataIrradiacao" type="ans:st_data" minOccurs="0"/>
238
+ </sequence>
239
+ </complexType>
240
+ </element>
241
+ <element name="numeroCiclos" type="ans:st_numerico2"/>
242
+ <element name="cicloAtual" type="ans:st_numerico2"/>
243
+ <element name="diasCicloAtual" type="ans:st_numerico3"/>
244
+ <element name="intervaloCiclos" type="ans:st_numerico3"/>
245
+ <element name="motivosNegativa" minOccurs="0">
246
+ <complexType>
247
+ <sequence>
248
+ <element name="motivoNegativa" type="ans:ct_motivoGlosa" maxOccurs="unbounded"/>
249
+ </sequence>
250
+ </complexType>
251
+ </element>
252
+ </sequence>
253
+ </complexType>
254
+ <!-- Utilizado na resposta da operadora na autoriza��o de solic de interna��o e de prorroga��o de interna��o -->
255
+ <complexType name="ctm_autorizacaoServico">
256
+ <sequence>
257
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoDados"/>
258
+ <element name="tipoEtapaAutorizacao" type="ans:dm_etapasAutorizacao"/>
259
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
260
+ <element name="prestadorAutorizado" minOccurs="0">
261
+ <complexType>
262
+ <sequence>
263
+ <element name="dadosContratado" type="ans:ct_contratadoDados"/>
264
+ <element name="cnesContratado" type="ans:st_texto7"/>
265
+ </sequence>
266
+ </complexType>
267
+ </element>
268
+ <element name="statusSolicitacao" type="ans:dm_statusSolicitacao"/>
269
+ <element name="motivosNegativa" minOccurs="0">
270
+ <complexType>
271
+ <sequence>
272
+ <element name="motivoNegativa" type="ans:ct_motivoGlosa" maxOccurs="unbounded"/>
273
+ </sequence>
274
+ </complexType>
275
+ </element>
276
+ <element name="servicosAutorizados" minOccurs="0">
277
+ <complexType>
278
+ <sequence>
279
+ <element name="servicoAutorizado" type="ans:ct_procedimentoAutorizado" maxOccurs="unbounded"/>
280
+ </sequence>
281
+ </complexType>
282
+ </element>
283
+ <element name="observacao" type="ans:st_texto1000" minOccurs="0"/>
284
+ <element name="autorizacaoQuimio" type="ans:ctm_autorizacaoQuimio" minOccurs="0"/>
285
+ <element name="autorizacaoRadio" type="ans:ctm_autorizacaoRadio" minOccurs="0"/>
286
+ </sequence>
287
+ </complexType>
288
+ <complexType name="ctm_beneficiarioComunicacao">
289
+ <sequence>
290
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
291
+ <element name="dataEvento" type="ans:st_data"/>
292
+ <element name="tipoEvento" type="ans:dm_tipoEvento"/>
293
+ <element name="dadosInternacao">
294
+ <complexType>
295
+ <choice>
296
+ <element name="motivoEncerramento" type="ans:dm_motivoSaida"/>
297
+ <element name="tipoInternacao" type="ans:dm_tipoInternacao"/>
298
+ </choice>
299
+ </complexType>
300
+ </element>
301
+ </sequence>
302
+ </complexType>
303
+ <complexType name="ctm_beneficiarioComunicacaoRecibo">
304
+ <sequence>
305
+ <element name="statusComunicacao" type="ans:dm_simNao"/>
306
+ <element name="beneficiarioComunicacao" type="ans:ctm_beneficiarioComunicacao"/>
307
+ <element name="mensagemErro" type="ans:ct_motivoGlosa" minOccurs="0"/>
308
+ </sequence>
309
+ </complexType>
310
+ <complexType name="ctm_consultaAtendimento">
311
+ <sequence>
312
+ <element name="dataAtendimento" type="ans:st_data"/>
313
+ <element name="tipoConsulta" type="ans:dm_tipoConsulta"/>
314
+ <element name="procedimento">
315
+ <complexType>
316
+ <sequence>
317
+ <element name="codigoTabela" type="ans:dm_tabela"/>
318
+ <element name="codigoProcedimento" type="ans:st_texto10"/>
319
+ <element name="valorProcedimento" type="ans:st_decimal8-2"/>
320
+ </sequence>
321
+ </complexType>
322
+ </element>
323
+ </sequence>
324
+ </complexType>
325
+ <!--============================= GUIA DE CONSULTA ===========================-->
326
+ <complexType name="ctm_consultaGuia">
327
+ <sequence>
328
+ <element name="cabecalhoConsulta" type="ans:ct_guiaCabecalho"/>
329
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
330
+ <element name="ausenciaCodValidacao" type="ans:dm_ausenciaCodValidacao" minOccurs="0"/>
331
+ <element name="codValidacao" type="ans:st_texto10" minOccurs="0"/>
332
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
333
+ <element name="contratadoExecutante">
334
+ <complexType>
335
+ <complexContent>
336
+ <extension base="ans:ct_contratadoDados">
337
+ <sequence>
338
+ <element name="CNES" type="ans:st_texto7"/>
339
+ </sequence>
340
+ </extension>
341
+ </complexContent>
342
+ </complexType>
343
+ </element>
344
+ <element name="profissionalExecutante" type="ans:ct_contratadoProfissionalDados"/>
345
+ <element name="indicacaoAcidente" type="ans:dm_indicadorAcidente"/>
346
+ <element name="dadosAtendimento" type="ans:ctm_consultaAtendimento"/>
347
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
348
+ <element name="assinaturaDigitalGuia" type="ans:Signature" minOccurs="0"/>
349
+ <!--<element name="assinaturaDigitalGuia" type="ans:assinaturaDigital" minOccurs="0"/>-->
350
+ </sequence>
351
+ </complexType>
352
+ <!--============================= DEMONSTRATIVO DE ANALISE DE CONTA ===========================-->
353
+ <complexType name="ctm_demonstrativoAnaliseConta">
354
+ <sequence>
355
+ <element name="cabecalhoDemonstrativo" type="ans:ct_demonstrativoCabecalho"/>
356
+ <element name="dadosPrestador">
357
+ <complexType>
358
+ <sequence>
359
+ <element name="dadosContratado" type="ans:ct_contratadoDados"/>
360
+ <element name="CNES" type="ans:st_texto7"/>
361
+ </sequence>
362
+ </complexType>
363
+ </element>
364
+ <element name="dadosConta">
365
+ <complexType>
366
+ <sequence>
367
+ <element name="dadosProtocolo" maxOccurs="unbounded">
368
+ <complexType>
369
+ <complexContent>
370
+ <extension base="ans:ct_contaMedicaResumo"/>
371
+ </complexContent>
372
+ </complexType>
373
+ </element>
374
+ </sequence>
375
+ </complexType>
376
+ </element>
377
+ <element name="valorInformadoGeral" type="ans:st_decimal10-2"/>
378
+ <element name="valorProcessadoGeral" type="ans:st_decimal10-2"/>
379
+ <element name="valorLiberadoGeral" type="ans:st_decimal10-2"/>
380
+ <element name="valorGlosaGeral" type="ans:st_decimal10-2" minOccurs="0"/>
381
+ </sequence>
382
+ </complexType>
383
+ <!--============================= DEMONSTRATIVO DE PAGAMENTO ===========================-->
384
+ <complexType name="ctm_demonstrativoPagamento">
385
+ <sequence>
386
+ <element name="cabecalhoDemonstrativo" type="ans:ct_demonstrativoCabecalho"/>
387
+ <element name="dadosContratado">
388
+ <complexType>
389
+ <sequence>
390
+ <element name="dadosPrestador" type="ans:ct_contratadoDados"/>
391
+ <element name="CNES" type="ans:st_texto7"/>
392
+ </sequence>
393
+ </complexType>
394
+ </element>
395
+ <element name="pagamentos">
396
+ <complexType>
397
+ <sequence>
398
+ <element name="pagamentosPorData" maxOccurs="unbounded">
399
+ <complexType>
400
+ <sequence>
401
+ <element name="dadosPagamento" type="ans:ct_pagamentoDados"/>
402
+ <element name="dadosResumo">
403
+ <complexType>
404
+ <sequence>
405
+ <element name="relacaoProtocolos" type="ans:ct_dadosResumoDemonstrativo" maxOccurs="unbounded"/>
406
+ </sequence>
407
+ </complexType>
408
+ </element>
409
+ <element name="totaisBrutosPorData">
410
+ <complexType>
411
+ <sequence>
412
+ <element name="totalInformadoPorData" type="ans:st_decimal10-2"/>
413
+ <element name="totalProcessadoPorData" type="ans:st_decimal10-2"/>
414
+ <element name="totaLiberadoPorData" type="ans:st_decimal10-2"/>
415
+ <element name="totalGlosaPorData" type="ans:st_decimal10-2"/>
416
+ </sequence>
417
+ </complexType>
418
+ </element>
419
+ <element name="debitosCreditosPorData" minOccurs="0">
420
+ <complexType>
421
+ <sequence>
422
+ <element name="debitosCreditos" type="ans:ct_descontos" maxOccurs="unbounded"/>
423
+ </sequence>
424
+ </complexType>
425
+ </element>
426
+ <element name="totaisLiquidosPorData">
427
+ <complexType>
428
+ <sequence>
429
+ <element name="totalDebitosPorData" type="ans:st_decimal10-2"/>
430
+ <element name="totalCreditosPorData" type="ans:st_decimal10-2"/>
431
+ <element name="liquidoPorData" type="ans:st_decimal10-2"/>
432
+ </sequence>
433
+ </complexType>
434
+ </element>
435
+ </sequence>
436
+ </complexType>
437
+ </element>
438
+ </sequence>
439
+ </complexType>
440
+ </element>
441
+ <element name="totaisDemonstrativo">
442
+ <complexType>
443
+ <sequence>
444
+ <element name="totaisBrutosDemonstrativo">
445
+ <complexType>
446
+ <sequence>
447
+ <element name="valorInformadoBruto" type="ans:st_decimal10-2"/>
448
+ <element name="valorProcessadoBruto" type="ans:st_decimal10-2"/>
449
+ <element name="valorLiberadoBruto" type="ans:st_decimal10-2"/>
450
+ <element name="valorGlosaBruto" type="ans:st_decimal10-2"/>
451
+ </sequence>
452
+ </complexType>
453
+ </element>
454
+ <element name="debitosCreditosDemonstrativo" type="ans:ct_descontos" minOccurs="0" maxOccurs="unbounded"/>
455
+ <element name="totaisLiquidosDemonstrativo">
456
+ <complexType>
457
+ <sequence>
458
+ <element name="totalDebitosDemonstrativo" type="ans:st_decimal10-2"/>
459
+ <element name="totalCreditosdemonstrativo" type="ans:st_decimal10-2"/>
460
+ <element name="valorLiberadoDemonstrativo" type="ans:st_decimal10-2"/>
461
+ </sequence>
462
+ </complexType>
463
+ </element>
464
+ </sequence>
465
+ </complexType>
466
+ </element>
467
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
468
+ </sequence>
469
+ </complexType>
470
+ <!-- LOTE DE GUIAS A SER ENVIADO A OPERADORA PELO PRESTADOR -->
471
+ <complexType name="ctm_guiaLote">
472
+ <sequence>
473
+ <element name="numeroLote" type="ans:st_texto12"/>
474
+ <element name="guiasTISS">
475
+ <complexType>
476
+ <choice>
477
+ <element name="guiaSP-SADT" type="ans:ctm_sp-sadtGuia" maxOccurs="100"/>
478
+ <element name="guiaResumoInternacao" type="ans:ctm_internacaoResumoGuia" maxOccurs="100"/>
479
+ <element name="guiaHonorarios" type="ans:ctm_honorarioIndividualGuia" maxOccurs="100"/>
480
+ <element name="guiaConsulta" type="ans:ctm_consultaGuia" maxOccurs="100"/>
481
+ <element name="guiaOdonto" type="ans:cto_guiaOdontologia" maxOccurs="100"/>
482
+ </choice>
483
+ </complexType>
484
+ </element>
485
+ </sequence>
486
+ </complexType>
487
+ <!--============================= GUIA DE HONORARIO INDIVIDUAL ===========================-->
488
+ <complexType name="ctm_honorarioIndividualGuia">
489
+ <sequence>
490
+ <element name="cabecalhoGuia" type="ans:ct_guiaCabecalho"/>
491
+ <element name="guiaSolicInternacao" type="ans:st_texto20"/>
492
+ <element name="senha" type="ans:st_texto20" minOccurs="0"/>
493
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
494
+ <!-- dados beneficiario -->
495
+ <element name="beneficiario">
496
+ <complexType>
497
+ <sequence>
498
+ <element name="numeroCarteira" type="ans:st_texto20"/>
499
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
500
+ <element name="atendimentoRN" type="ans:dm_simNao"/>
501
+ </sequence>
502
+ </complexType>
503
+ </element>
504
+ <!-- dados do contratado - onde foi executado o procedimento -->
505
+ <element name="localContratado">
506
+ <complexType>
507
+ <sequence>
508
+ <element name="codigoContratado">
509
+ <complexType>
510
+ <choice>
511
+ <element name="codigoNaOperadora" type="ans:st_texto14"/>
512
+ <element name="cnpjLocalExecutante" type="ans:st_CNPJ"/>
513
+ </choice>
514
+ </complexType>
515
+ </element>
516
+ <element name="nomeContratado" type="ans:st_texto70"/>
517
+ <element name="cnes" type="ans:st_texto7"/>
518
+ </sequence>
519
+ </complexType>
520
+ </element>
521
+ <element name="dadosContratadoExecutante">
522
+ <complexType>
523
+ <sequence>
524
+ <element name="codigonaOperadora" type="ans:st_texto14"/>
525
+ <element name="nomeContratadoExecutante" type="ans:st_texto70"/>
526
+ <element name="cnesContratadoExecutante" type="ans:st_texto7"/>
527
+ </sequence>
528
+ </complexType>
529
+ </element>
530
+ <element name="dadosInternacao">
531
+ <complexType>
532
+ <sequence>
533
+ <element name="dataInicioFaturamento" type="ans:st_data"/>
534
+ <element name="dataFimFaturamento" type="ans:st_data"/>
535
+ </sequence>
536
+ </complexType>
537
+ </element>
538
+ <element name="procedimentosRealizados">
539
+ <complexType>
540
+ <sequence>
541
+ <element name="procedimentoRealizado" type="ans:ct_procedimentoExecutadoHonorIndiv" maxOccurs="unbounded"/>
542
+ </sequence>
543
+ </complexType>
544
+ </element>
545
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
546
+ <element name="valorTotalHonorarios" type="ans:st_decimal10-2"/>
547
+ <element name="dataEmissaoGuia" type="ans:st_data"/>
548
+ <element name="assinaturaDigitalGuia" type="ans:Signature" minOccurs="0"/>
549
+ <!--<element name="assinaturaDigitalGuia" type="ans:assinaturaDigital" minOccurs="0"/>-->
550
+ </sequence>
551
+ </complexType>
552
+ <!-- Fim de honorario individual -->
553
+ <complexType name="ctm_internacaoDados">
554
+ <sequence>
555
+ <element name="caraterAtendimento" type="ans:dm_caraterAtendimento"/>
556
+ <element name="tipoFaturamento" type="ans:dm_tipoFaturamento"/>
557
+ <element name="dataInicioFaturamento" type="ans:st_data"/>
558
+ <element name="horaInicioFaturamento" type="ans:st_hora"/>
559
+ <element name="dataFinalFaturamento" type="ans:st_data"/>
560
+ <element name="horaFinalFaturamento" type="ans:st_hora"/>
561
+ <element name="tipoInternacao" type="ans:dm_tipoInternacao"/>
562
+ <element name="regimeInternacao" type="ans:dm_regimeInternacao"/>
563
+ <!--<element name="qtRNutiNeonatal" type="ans:st_numerico2" minOccurs="0"/>
564
+ <element name="obitoMulher" type="ans:dm_obitoMulher" minOccurs="0"/>
565
+ <element name="qtObitoNeonatalPrecoce" type="ans:st_numerico2" minOccurs="0"/>
566
+ <element name="qtObitoNeonatalTardio" type="ans:st_numerico2" minOccurs="0"/>
567
+ <element name="qtNascidoVivoTermo" type="ans:st_numerico2" minOccurs="0"/>
568
+ <element name="qtNascidoMorto" type="ans:st_numerico2" minOccurs="0"/>
569
+ <element name="qtNascidoPrematuro" type="ans:st_numerico2" minOccurs="0"/>-->
570
+ <element name="declaracoes" minOccurs="0" maxOccurs="8">
571
+ <complexType>
572
+ <sequence>
573
+ <element name="declaracaoNascido" type="ans:dm_declaracaoNascidoObito" minOccurs="0"/>
574
+ <element name="diagnosticoObito" type="ans:st_texto4" minOccurs="0"/>
575
+ <element name="declaracaoObito" type="ans:dm_declaracaoNascidoObito" minOccurs="0"/>
576
+ <element name="indicadorDORN" type="ans:dm_simNao" minOccurs="0"/>
577
+ </sequence>
578
+ </complexType>
579
+ </element>
580
+ </sequence>
581
+ </complexType>
582
+ <complexType name="ctm_internacaoDadosSaida">
583
+ <sequence>
584
+ <element name="diagnostico" type="ans:st_texto4" minOccurs="0" maxOccurs="4"/>
585
+ <element name="indicadorAcidente" type="ans:dm_indicadorAcidente"/>
586
+ <element name="motivoEncerramento" type="ans:dm_motivoSaida"/>
587
+ </sequence>
588
+ </complexType>
589
+ <!--============================= GUIA DE RESUMO DE INTERNACAO ===========================-->
590
+ <complexType name="ctm_internacaoResumoGuia">
591
+ <sequence>
592
+ <element name="cabecalhoGuia" type="ans:ct_guiaCabecalho"/>
593
+ <element name="numeroGuiaSolicitacaoInternacao" type="ans:st_texto20"/>
594
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoInternacao"/>
595
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
596
+ <element name="dadosExecutante">
597
+ <complexType>
598
+ <sequence>
599
+ <element name="contratadoExecutante" type="ans:ct_contratadoDados"/>
600
+ <element name="CNES" type="ans:st_texto7"/>
601
+ </sequence>
602
+ </complexType>
603
+ </element>
604
+ <element name="dadosInternacao" type="ans:ctm_internacaoDados"/>
605
+ <element name="dadosSaidaInternacao" type="ans:ctm_internacaoDadosSaida"/>
606
+ <element name="procedimentosExecutados" minOccurs="0">
607
+ <complexType>
608
+ <sequence>
609
+ <element name="procedimentoExecutado" type="ans:ct_procedimentoExecutadoInt" maxOccurs="unbounded"/>
610
+ </sequence>
611
+ </complexType>
612
+ </element>
613
+ <element name="valorTotal" type="ans:ct_guiaValorTotal"/>
614
+ <element name="outrasDespesas" type="ans:ct_outrasDespesas" minOccurs="0"/>
615
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
616
+ <!-- <element name="relatorioTecnico" type="base64Binary" minOccurs="0"/>-->
617
+ <element name="assinaturaDigitalGuia" type="ans:Signature" minOccurs="0"/>
618
+ <!--<element name="assinaturaDigitalGuia" type="ans:assinaturaDigital" minOccurs="0"/>-->
619
+ </sequence>
620
+ </complexType>
621
+ <!--============================= GUIA DE SOLICITACAO DE INTERNACAO ===========================-->
622
+ <complexType name="ctm_internacaoSolicitacaoGuia">
623
+ <sequence>
624
+ <element name="registroANS" type="ans:st_registroANS"/>
625
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
626
+ <element name="ausenciaCodValidacao" type="ans:dm_ausenciaCodValidacao" minOccurs="0"/>
627
+ <element name="codValidacao" type="ans:st_texto10" minOccurs="0"/>
628
+ <element name="tipoEtapaAutorizacao" type="ans:dm_etapasAutorizacao"/>
629
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
630
+ <element name="identificacaoSolicitante">
631
+ <complexType>
632
+ <sequence>
633
+ <element name="dadosDoContratado" type="ans:ct_contratadoDados"/>
634
+ <element name="dadosProfissionalContratado" type="ans:ct_contratadoProfissionalDados"/>
635
+ </sequence>
636
+ </complexType>
637
+ </element>
638
+ <element name="dadosHospitalSolicitado">
639
+ <complexType>
640
+ <sequence>
641
+ <element name="codigoIndicadonaOperadora" type="ans:st_texto14"/>
642
+ <element name="nomeContratadoIndicado" type="ans:st_texto70"/>
643
+ <element name="dataSugeridaInternacao" type="ans:st_data"/>
644
+ </sequence>
645
+ </complexType>
646
+ </element>
647
+ <element name="dadosInternacao">
648
+ <complexType>
649
+ <sequence>
650
+ <element name="caraterAtendimento" type="ans:dm_caraterAtendimento"/>
651
+ <element name="tipoInternacao" type="ans:dm_tipoInternacao"/>
652
+ <element name="regimeInternacao" type="ans:dm_regimeInternacao"/>
653
+ <element name="qtDiariasSolicitadas" type="ans:st_numerico2"/>
654
+ <element name="indicadorOPME" type="ans:dm_simNao"/>
655
+ <element name="indicadorQuimio" type="ans:dm_simNao"/>
656
+ <element name="indicacaoClinica" type="ans:st_texto500"/>
657
+ </sequence>
658
+ </complexType>
659
+ </element>
660
+ <element name="hipotesesDiagnosticas">
661
+ <complexType>
662
+ <sequence>
663
+ <element name="diagnosticoCID" type="ans:st_texto4" minOccurs="0" maxOccurs="4"/>
664
+ <element name="indicadorAcidente" type="ans:dm_indicadorAcidente"/>
665
+ </sequence>
666
+ </complexType>
667
+ </element>
668
+ <element name="procedimentosSolicitados" maxOccurs="unbounded">
669
+ <complexType>
670
+ <sequence>
671
+ <element name="procedimento" type="ans:ct_procedimentoDados"/>
672
+ <element name="quantidadeSolicitada" type="ans:st_numerico3"/>
673
+ </sequence>
674
+ </complexType>
675
+ </element>
676
+ <element name="dataSolicitacao" type="ans:st_data"/>
677
+ <element name="observacao" type="ans:st_texto1000" minOccurs="0"/>
678
+ <!--<element name="relatorioTecnico" type="base64Binary" minOccurs="0"/>-->
679
+ <element name="anexoClinico" minOccurs="0">
680
+ <complexType>
681
+ <sequence>
682
+ <element name="solicitacaoQuimioterapia" type="ans:ctm_anexoSolicitacaoQuimio" minOccurs="0"/>
683
+ <element name="solicitacaoRadioterapia" type="ans:ctm_anexoSolicitacaoRadio" minOccurs="0"/>
684
+ <element name="solicitacaoOPME" type="ans:ctm_anexoSolicitacaoOPME" minOccurs="0"/>
685
+ </sequence>
686
+ </complexType>
687
+ </element>
688
+ </sequence>
689
+ </complexType>
690
+ <!-- Fim da solicita��o de interna��o -->
691
+ <!--============================= GUIA DE SOLICITACAO DE PRORROGA��O DE INTERNACAO ===========================-->
692
+ <complexType name="ctm_prorrogacaoSolicitacaoGuia">
693
+ <sequence>
694
+ <element name="registroANS" type="ans:st_registroANS"/>
695
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
696
+ <element name="nrGuiaReferenciada" type="ans:st_texto20"/>
697
+ <element name="dadosBeneficiario">
698
+ <complexType>
699
+ <sequence>
700
+ <element name="numeroCarteira" type="ans:st_texto20"/>
701
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
702
+ <element name="tipoIdent" type="ans:dm_tipoIdent" minOccurs="0"/>
703
+ <element name="identificadorBeneficiario" type="base64Binary" minOccurs="0"/>
704
+ <element name="templateBiometrico" type="base64Binary" minOccurs="0"/>
705
+ </sequence>
706
+ </complexType>
707
+ </element>
708
+ <element name="dadosContratadoSolicitante" type="ans:ct_contratadoDados"/>
709
+ <element name="dadosProfissionalSolicitante" type="ans:ct_contratadoProfissionalDados"/>
710
+ <element name="dadosInternacao">
711
+ <complexType>
712
+ <sequence>
713
+ <element name="qtDiariasAdicionais" type="ans:st_numerico3" minOccurs="0"/>
714
+ <element name="tipoAcomodacaoSolicitada" type="ans:dm_tipoAcomodacao" minOccurs="0"/>
715
+ <element name="indicacaoClinica" type="ans:st_texto500"/>
716
+ </sequence>
717
+ </complexType>
718
+ </element>
719
+ <element name="procedimentosAdicionais" minOccurs="0" maxOccurs="unbounded">
720
+ <complexType>
721
+ <sequence>
722
+ <element name="procedimento" type="ans:ct_procedimentoDados"/>
723
+ <element name="quantidadeSolicitada" type="ans:st_numerico3"/>
724
+ </sequence>
725
+ </complexType>
726
+ </element>
727
+ <element name="anexoClinicoProrrogacao" minOccurs="0">
728
+ <complexType>
729
+ <sequence>
730
+ <element name="solicitacaoQuimioterapia" type="ans:ctm_anexoSolicitacaoQuimio" minOccurs="0"/>
731
+ <element name="solicitacaoRadioterapia" type="ans:ctm_anexoSolicitacaoRadio" minOccurs="0"/>
732
+ <element name="solicitacaoOPME" type="ans:ctm_anexoSolicitacaoOPME" minOccurs="0"/>
733
+ </sequence>
734
+ </complexType>
735
+ </element>
736
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
737
+ <!--<element name="relatorioTecnico" type="base64Binary" minOccurs="0"/>-->
738
+ <element name="dataSolicitacao" type="ans:st_data"/>
739
+ </sequence>
740
+ </complexType>
741
+ <!-- Fim da solicita��o de prorroga��o de interna��o -->
742
+ <complexType name="ctm_sp-sadtAtendimento">
743
+ <sequence>
744
+ <element name="tipoAtendimento" type="ans:dm_tipoAtendimento"/>
745
+ <element name="indicacaoAcidente" type="ans:dm_indicadorAcidente"/>
746
+ <element name="tipoConsulta" type="ans:dm_tipoConsulta" minOccurs="0"/>
747
+ <element name="motivoEncerramento" type="ans:dm_motivoSaidaObito" minOccurs="0"/>
748
+ </sequence>
749
+ </complexType>
750
+ <!-- estrutura das solicita��es de autoriza��o do prestador para a operadora de sp_sadt, interna��o e prorroga��o -->
751
+ <complexType name="ctm_solicitacaoLote">
752
+ <choice>
753
+ <element name="solicitacaoSP-SADT" type="ans:ctm_sp-sadtSolicitacaoGuia"/>
754
+ <element name="solicitacaoInternacao" type="ans:ctm_internacaoSolicitacaoGuia"/>
755
+ <element name="solicitacaoProrrogacao" type="ans:ctm_prorrogacaoSolicitacaoGuia"/>
756
+ <element name="solicitacaoOdontologia" type="ans:cto_odontoSolicitacaoGuia"/>
757
+ </choice>
758
+ </complexType>
759
+ <!--============================= GUIA DE SOLICITACAO DE SP E SADT (execu��o) ==============-->
760
+ <complexType name="ctm_sp-sadtGuia">
761
+ <sequence>
762
+ <element name="cabecalhoGuia">
763
+ <complexType>
764
+ <complexContent>
765
+ <extension base="ans:ct_guiaCabecalho">
766
+ <sequence>
767
+ <element name="guiaPrincipal" type="ans:st_texto20" minOccurs="0"/>
768
+ </sequence>
769
+ </extension>
770
+ </complexContent>
771
+ </complexType>
772
+ </element>
773
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoSADT" minOccurs="0"/>
774
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
775
+ <element name="dadosSolicitante">
776
+ <complexType>
777
+ <sequence>
778
+ <element name="contratadoSolicitante" type="ans:ct_contratadoDados"/>
779
+ <element name="profissionalSolicitante" type="ans:ct_contratadoProfissionalDados"/>
780
+ </sequence>
781
+ </complexType>
782
+ </element>
783
+ <element name="dadosSolicitacao">
784
+ <complexType>
785
+ <sequence>
786
+ <element name="dataSolicitacao" type="ans:st_data" minOccurs="0"/>
787
+ <element name="caraterAtendimento" type="ans:dm_caraterAtendimento"/>
788
+ <element name="indicacaoClinica" type="ans:st_texto500" minOccurs="0"/>
789
+ </sequence>
790
+ </complexType>
791
+ </element>
792
+ <element name="dadosExecutante">
793
+ <complexType>
794
+ <sequence>
795
+ <element name="contratadoExecutante" type="ans:ct_contratadoDados"/>
796
+ <element name="CNES" type="ans:st_texto7"/>
797
+ </sequence>
798
+ </complexType>
799
+ </element>
800
+ <element name="dadosAtendimento" type="ans:ctm_sp-sadtAtendimento"/>
801
+ <element name="procedimentosExecutados" minOccurs="0">
802
+ <complexType>
803
+ <sequence>
804
+ <element name="procedimentoExecutado" type="ans:ct_procedimentoExecutadoSadt" maxOccurs="unbounded"/>
805
+ </sequence>
806
+ </complexType>
807
+ </element>
808
+ <element name="outrasDespesas" type="ans:ct_outrasDespesas" minOccurs="0"/>
809
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
810
+ <element name="valorTotal" type="ans:ct_guiaValorTotal"/>
811
+ <!--<element name="relatorioTecnico" type="base64Binary" minOccurs="0"/>-->
812
+ <element name="assinaturaDigitalGuia" type="ans:Signature" minOccurs="0"/>
813
+ <!--<element name="assinaturaDigitalGuia" type="ans:assinaturaDigital" minOccurs="0"/>-->
814
+ </sequence>
815
+ </complexType>
816
+ <!--============================= GUIA DE SOLICITACAO DE SP E SADT ===========================-->
817
+ <complexType name="ctm_sp-sadtSolicitacaoGuia">
818
+ <sequence>
819
+ <element name="cabecalhoSolicitacao" type="ans:ct_guiaCabecalho"/>
820
+ <element name="numeroGuiaPrincipal" type="ans:st_texto20" minOccurs="0"/>
821
+ <element name="ausenciaCodValidacao" type="ans:dm_ausenciaCodValidacao" minOccurs="0"/>
822
+ <element name="codValidacao" type="ans:st_texto10" minOccurs="0"/>
823
+ <element name="tipoEtapaAutorizacao" type="ans:dm_etapasAutorizacao"/>
824
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
825
+ <element name="dadosSolicitante">
826
+ <complexType>
827
+ <sequence>
828
+ <element name="contratadoSolicitante" type="ans:ct_contratadoDados"/>
829
+ <element name="profissionalSolicitante" type="ans:ct_contratadoProfissionalDados"/>
830
+ </sequence>
831
+ </complexType>
832
+ </element>
833
+ <element name="caraterAtendimento" type="ans:dm_caraterAtendimento"/>
834
+ <element name="dataSolicitacao" type="ans:st_data"/>
835
+ <element name="indicacaoClinica" type="ans:st_texto500" minOccurs="0"/>
836
+ <element name="procedimentosSolicitados" maxOccurs="unbounded">
837
+ <complexType>
838
+ <sequence>
839
+ <element name="procedimento" type="ans:ct_procedimentoDados"/>
840
+ <element name="quantidadeSolicitada" type="ans:st_numerico3"/>
841
+ </sequence>
842
+ </complexType>
843
+ </element>
844
+ <element name="dadosExecutante" minOccurs="0">
845
+ <complexType>
846
+ <sequence>
847
+ <element name="codigonaOperadora" type="ans:st_texto14"/>
848
+ <element name="nomeContratado" type="ans:st_texto70"/>
849
+ <element name="CNES" type="ans:st_texto7"/>
850
+ </sequence>
851
+ </complexType>
852
+ </element>
853
+ <element name="anexoClinico" minOccurs="0">
854
+ <complexType>
855
+ <sequence>
856
+ <element name="solicitacaoQuimioterapia" type="ans:ctm_anexoSolicitacaoQuimio" minOccurs="0"/>
857
+ <element name="solicitacaoRadioterapia" type="ans:ctm_anexoSolicitacaoRadio" minOccurs="0"/>
858
+ <element name="solicitacaoOPME" type="ans:ctm_anexoSolicitacaoOPME" minOccurs="0"/>
859
+ </sequence>
860
+ </complexType>
861
+ </element>
862
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
863
+ <!-- <element name="relatorioTecnico" type="base64Binary" minOccurs="0"/>-->
864
+ </sequence>
865
+ </complexType>
866
+ <!-- ========================== RECURSO DE GLOSA =========================== -->
867
+ <complexType name="ctm_recursoGlosa">
868
+ <sequence>
869
+ <element name="registroANS" type="ans:st_registroANS"/>
870
+ <element name="numeroGuiaRecGlosaPrestador" type="ans:st_texto20"/>
871
+ <element name="nomeOperadora" type="ans:st_texto70"/>
872
+ <element name="objetoRecurso" type="ans:dm_objetoRecurso"/>
873
+ <element name="numeroGuiaRecGlosaOperadora" type="ans:st_texto20" minOccurs="0"/>
874
+ <element name="dadosContratado" type="ans:ct_contratadoDados"/>
875
+ <element name="numeroLote" type="ans:st_texto12"/>
876
+ <element name="numeroProtocolo" type="ans:st_numerico12"/>
877
+ <element name="opcaoRecurso">
878
+ <complexType>
879
+ <choice>
880
+ <element name="recursoProtocolo">
881
+ <complexType>
882
+ <sequence>
883
+ <element name="codigoGlosaProtocolo" type="ans:dm_tipoGlosa"/>
884
+ <element name="justificativaProtocolo" type="ans:st_texto150"/>
885
+ </sequence>
886
+ </complexType>
887
+ </element>
888
+ <element name="recursoGuia" maxOccurs="100">
889
+ <complexType>
890
+ <sequence>
891
+ <element name="numeroGuiaOrigem" type="ans:st_texto20"/>
892
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
893
+ <element name="senha" type="ans:st_texto20" minOccurs="0"/>
894
+ <element name="opcaoRecursoGuia">
895
+ <complexType>
896
+ <choice>
897
+ <element name="recursoGuiaCompleta" maxOccurs="unbounded">
898
+ <complexType>
899
+ <sequence>
900
+ <element name="codGlosaGuia" type="ans:dm_tipoGlosa"/>
901
+ <element name="justificativaGuia" type="ans:st_texto150"/>
902
+ </sequence>
903
+ </complexType>
904
+ </element>
905
+ <element name="itensGuia" maxOccurs="unbounded">
906
+ <complexType>
907
+ <sequence>
908
+ <element name="sequencialItem" type="ans:st_numerico4"/>
909
+ <element name="dataInicio" type="ans:st_data"/>
910
+ <element name="dataFim" type="ans:st_data" minOccurs="0"/>
911
+ <element name="procRecurso" type="ans:ct_procedimentoDados"/>
912
+ <element name="grauParticipacao" type="ans:dm_grauPart" minOccurs="0"/>
913
+ <element name="codGlosaItem" type="ans:dm_tipoGlosa"/>
914
+ <element name="valorRecursado" type="ans:st_decimal8-2"/>
915
+ <element name="justificativaItem" type="ans:st_texto150"/>
916
+ </sequence>
917
+ </complexType>
918
+ </element>
919
+ </choice>
920
+ </complexType>
921
+ </element>
922
+ </sequence>
923
+ </complexType>
924
+ </element>
925
+ </choice>
926
+ </complexType>
927
+ </element>
928
+ <element name="valorTotalRecursado" type="ans:st_decimal10-2"/>
929
+ <element name="dataRecurso" type="ans:st_data"/>
930
+ </sequence>
931
+ </complexType>
932
+ <!-- Utilizado na resposta da operadora na autoriza��o de servi�os da odontologia -->
933
+ <complexType name="cto_autorizacaoServico">
934
+ <sequence>
935
+ <element name="dadosAutorizacao" type="ans:ct_autorizacaoDados"/>
936
+ <element name="numeroCarteira" type="ans:st_texto20"/>
937
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
938
+ <element name="numeroCNS" type="ans:st_texto15" minOccurs="0"/>
939
+ <element name="tipoIdent" type="ans:dm_tipoIdent" minOccurs="0"/>
940
+ <element name="identificadorBeneficiario" type="base64Binary" minOccurs="0"/>
941
+ <element name="templateBiometrico" type="base64Binary" minOccurs="0"/>
942
+ <element name="statusSolicitacao" type="ans:dm_statusSolicitacao"/>
943
+ <element name="prestadorAutorizado" type="ans:ct_contratadoDados" minOccurs="0"/>
944
+ <element name="procedimentosAutorizados" minOccurs="0" maxOccurs="unbounded">
945
+ <complexType>
946
+ <sequence>
947
+ <element name="sequencialItem" type="ans:st_numerico4"/>
948
+ <element name="procSolic" type="ans:ct_procedimentoDados"/>
949
+ <element name="denteRegiao" minOccurs="0">
950
+ <complexType>
951
+ <choice>
952
+ <element name="codDente" type="ans:dm_dente"/>
953
+ <element name="codRegiao" type="ans:dm_regiao"/>
954
+ </choice>
955
+ </complexType>
956
+ </element>
957
+ <element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
958
+ <element name="qtdProc" type="ans:st_numerico2"/>
959
+ <element name="qtdUS" type="ans:st_decimal8-2" minOccurs="0"/>
960
+ <element name="valorProc" type="ans:st_decimal8-2"/>
961
+ <element name="valorFranquia" type="ans:st_decimal8-2" minOccurs="0"/>
962
+ <element name="aut" type="ans:dm_simNao"/>
963
+ <element name="motivosNegativa" type="ans:ct_motivoGlosa" minOccurs="0" maxOccurs="unbounded"/>
964
+ </sequence>
965
+ </complexType>
966
+ </element>
967
+ <element name="motivosNegativa" minOccurs="0">
968
+ <complexType>
969
+ <sequence>
970
+ <element name="motivoNegativa" type="ans:ct_motivoGlosa" maxOccurs="unbounded"/>
971
+ </sequence>
972
+ </complexType>
973
+ </element>
974
+ </sequence>
975
+ </complexType>
976
+ <!-- ========================= ANEXO ODONTOLOGIA SITUA��O INICIAL ======================= -->
977
+ <complexType name="cto_anexoSituacaoInicial">
978
+ <sequence>
979
+ <element name="registroANS" type="ans:st_registroANS"/>
980
+ <element name="numeroGuiaAnexo" type="ans:st_texto20"/>
981
+ <element name="numeroGuiaReferenciada" type="ans:st_texto20"/>
982
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
983
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
984
+ <element name="numeroCarteira" type="ans:st_texto20"/>
985
+ <element name="ct_situacaoInicial">
986
+ <complexType>
987
+ <sequence>
988
+ <element name="situacaoClinica" type="ans:ct_situacaoClinica"/>
989
+ <element name="doencaPeriodontal" type="ans:st_logico"/>
990
+ <element name="alteracaoTecidoMole" type="ans:st_logico"/>
991
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
992
+ </sequence>
993
+ </complexType>
994
+ </element>
995
+ </sequence>
996
+ </complexType>
997
+ <complexType name="cto_anexoSituacaoInicialnaGTO">
998
+ <sequence>
999
+ <element name="numeroGuiaAnexo" type="ans:st_texto20"/>
1000
+ <element name="numeroGuiaReferenciada" type="ans:st_texto20"/>
1001
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
1002
+ <element name="ct_situacaoInicial">
1003
+ <complexType>
1004
+ <sequence>
1005
+ <element name="situacaoClinica" type="ans:ct_situacaoClinica"/>
1006
+ <element name="doencaPeriodontal" type="ans:st_logico" minOccurs="0"/>
1007
+ <element name="alteracaoTecidoMole" type="ans:st_logico" minOccurs="0"/>
1008
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
1009
+ </sequence>
1010
+ </complexType>
1011
+ </element>
1012
+ </sequence>
1013
+ </complexType>
1014
+ <!-- ============= DEMONSTRATIVO PAGAMENTO ODONTOLOGIA ==========================-->
1015
+ <complexType name="cto_demonstrativoOdontologia">
1016
+ <sequence>
1017
+ <element name="cabecalhoDemonstrativoOdonto">
1018
+ <complexType>
1019
+ <sequence>
1020
+ <element name="registroANS" type="ans:st_registroANS"/>
1021
+ <element name="numeroDemonstrativo" type="ans:st_texto12"/>
1022
+ <element name="nomeOperadora" type="ans:st_texto70"/>
1023
+ <element name="cnpjOper" type="ans:st_CNPJ"/>
1024
+ <element name="periodoProc">
1025
+ <complexType>
1026
+ <sequence>
1027
+ <element name="datainicio" type="ans:st_data"/>
1028
+ <element name="datafim" type="ans:st_data"/>
1029
+ </sequence>
1030
+ </complexType>
1031
+ </element>
1032
+ </sequence>
1033
+ </complexType>
1034
+ </element>
1035
+ <element name="dadosPrestador">
1036
+ <complexType>
1037
+ <sequence>
1038
+ <element name="codigoPrestador" type="ans:st_texto14"/>
1039
+ <element name="nomePrestador" type="ans:st_texto70"/>
1040
+ <element name="cpfCNPJContratado">
1041
+ <complexType>
1042
+ <choice>
1043
+ <element name="cnpjPrestador" type="ans:st_CNPJ"/>
1044
+ <element name="cpfContratado" type="ans:st_CPF"/>
1045
+ </choice>
1046
+ </complexType>
1047
+ </element>
1048
+ </sequence>
1049
+ </complexType>
1050
+ </element>
1051
+ <!-- PROTOCOLO ===========================================-->
1052
+ <element name="dadosPagamentoPorData" maxOccurs="unbounded">
1053
+ <complexType>
1054
+ <sequence>
1055
+ <element name="dadosPagamento">
1056
+ <complexType>
1057
+ <sequence>
1058
+ <element name="dataPagamento" type="ans:st_data"/>
1059
+ <element name="banco" type="ans:st_texto4" minOccurs="0"/>
1060
+ <element name="agencia" type="ans:st_texto7" minOccurs="0"/>
1061
+ <element name="conta" type="ans:st_texto20" minOccurs="0"/>
1062
+ </sequence>
1063
+ </complexType>
1064
+ </element>
1065
+ <element name="protocolos" maxOccurs="unbounded">
1066
+ <complexType>
1067
+ <sequence>
1068
+ <element name="numeroLote" type="ans:st_texto12"/>
1069
+ <element name="numeroProtocolo" type="ans:st_texto12"/>
1070
+ <element name="dadosPagamentoGuia" maxOccurs="unbounded">
1071
+ <complexType>
1072
+ <sequence>
1073
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
1074
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
1075
+ <element name="recurso" type="ans:dm_simNao"/>
1076
+ <element name="nomeExecutante" type="ans:st_texto70"/>
1077
+ <element name="carteiraBeneficiario" type="ans:st_texto20"/>
1078
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
1079
+ <!-- PROCEDIMENTOS DA GUIA====================================================-->
1080
+ <element name="dadosPagamento" maxOccurs="unbounded">
1081
+ <complexType>
1082
+ <sequence>
1083
+ <element name="sequencialItem" type="ans:st_numerico4"/>
1084
+ <element name="procedimento" type="ans:ct_procedimentoDados"/>
1085
+ <element name="denteRegiao" minOccurs="0">
1086
+ <complexType>
1087
+ <choice>
1088
+ <element name="codDente" type="ans:dm_dente"/>
1089
+ <element name="codRegiao" type="ans:dm_regiao"/>
1090
+ </choice>
1091
+ </complexType>
1092
+ </element>
1093
+ <element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
1094
+ <element name="dataRealizacao" type="ans:st_data"/>
1095
+ <element name="qtdProc" type="ans:st_numerico2"/>
1096
+ <element name="valorInformado" type="ans:st_decimal7-2"/>
1097
+ <element name="valorProcessado" type="ans:st_decimal7-2"/>
1098
+ <element name="valorGlosaEstorno" type="ans:st_decimal7-2"/>
1099
+ <element name="valorFranquia" type="ans:st_decimal7-2"/>
1100
+ <element name="valorLiberado" type="ans:st_decimal7-2"/>
1101
+ <element name="codigosGlosa" type="ans:dm_tipoGlosa" minOccurs="0" maxOccurs="unbounded"/>
1102
+ </sequence>
1103
+ </complexType>
1104
+ </element>
1105
+ <element name="observacaoGuia" type="ans:st_texto500" minOccurs="0"/>
1106
+ <element name="valorTotalInformadoGuia" type="ans:st_decimal8-2"/>
1107
+ <element name="valorTotalProcessadoGuia" type="ans:st_decimal8-2"/>
1108
+ <element name="valorTotalGlosaGuia" type="ans:st_decimal8-2"/>
1109
+ <element name="valorTotalFranquiaGuia" type="ans:st_decimal8-2"/>
1110
+ <element name="valorTotalLiberadoGuia" type="ans:st_decimal8-2"/>
1111
+ </sequence>
1112
+ </complexType>
1113
+ </element>
1114
+ <element name="totaisPorProtocolo">
1115
+ <complexType>
1116
+ <sequence>
1117
+ <element name="valorTotalInformadoPorProtocolo" type="ans:st_decimal10-2"/>
1118
+ <element name="valorTotalProcessadoPorProtocolo" type="ans:st_decimal10-2"/>
1119
+ <element name="valorTotalGlosaPorProtocolo" type="ans:st_decimal10-2"/>
1120
+ <element name="valorTotalFranquiaPorProtocolo" type="ans:st_decimal10-2"/>
1121
+ <element name="valorTotalLiberadoPorProtocolo" type="ans:st_decimal10-2"/>
1122
+ </sequence>
1123
+ </complexType>
1124
+ </element>
1125
+ </sequence>
1126
+ </complexType>
1127
+ </element>
1128
+ <!-- GUIA =================================================================================-->
1129
+ <element name="totaisPorData">
1130
+ <complexType>
1131
+ <sequence>
1132
+ <element name="valorBrutonformadoPorData" type="ans:st_decimal10-2"/>
1133
+ <element name="valorBrutoProcessadoPorData" type="ans:st_decimal10-2"/>
1134
+ <element name="valorBrutoGlosaPorData" type="ans:st_decimal10-2"/>
1135
+ <element name="valorBrutoFranquiaPorData" type="ans:st_decimal10-2"/>
1136
+ <element name="valorBrutoLiberadoPorData" type="ans:st_decimal10-2"/>
1137
+ </sequence>
1138
+ </complexType>
1139
+ </element>
1140
+ <element name="debCredPorDataPagamento" minOccurs="0">
1141
+ <complexType>
1142
+ <sequence>
1143
+ <element name="descontos" type="ans:ct_descontos" maxOccurs="unbounded"/>
1144
+ </sequence>
1145
+ </complexType>
1146
+ </element>
1147
+ <element name="totalLiquidoPorData">
1148
+ <complexType>
1149
+ <sequence>
1150
+ <element name="valorTotalDebitosPorData" type="ans:st_decimal10-2"/>
1151
+ <element name="valorTotalCreditosPorData" type="ans:st_decimal10-2"/>
1152
+ <element name="valorFinalAReceberPorData" type="ans:st_decimal10-2"/>
1153
+ </sequence>
1154
+ </complexType>
1155
+ </element>
1156
+ </sequence>
1157
+ </complexType>
1158
+ </element>
1159
+ <element name="totaisBrutoDemonstrativo">
1160
+ <complexType>
1161
+ <sequence>
1162
+ <element name="valorInformadoPorDemonstrativoData" type="ans:st_decimal10-2"/>
1163
+ <element name="valorlProcessadoPorDemonstrativo" type="ans:st_decimal10-2"/>
1164
+ <element name="valorlGlosaPorDemonstrativo" type="ans:st_decimal10-2"/>
1165
+ <element name="valoFranquiaPorDemonstrativo" type="ans:st_decimal10-2"/>
1166
+ <element name="valorLiberadoPorDemonstrativo" type="ans:st_decimal10-2"/>
1167
+ </sequence>
1168
+ </complexType>
1169
+ </element>
1170
+ <element name="debCredDemonstrativo" minOccurs="0">
1171
+ <complexType>
1172
+ <sequence>
1173
+ <element name="descontos" type="ans:ct_descontos" maxOccurs="unbounded"/>
1174
+ </sequence>
1175
+ </complexType>
1176
+ </element>
1177
+ <element name="totalDebitosDemonstativo" type="ans:st_decimal10-2"/>
1178
+ <element name="totalCreditosDemonstrativo" type="ans:st_decimal10-2"/>
1179
+ <element name="valorRecebidoDemonstrativo" type="ans:st_decimal10-2"/>
1180
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
1181
+ </sequence>
1182
+ </complexType>
1183
+ <!--============== GUIA DE TRATAMENTO ODONTOLOGICO - COBRAN�A ===========-->
1184
+ <complexType name="cto_guiaOdontologia">
1185
+ <sequence>
1186
+ <element name="registroANS" type="ans:st_registroANS"/>
1187
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
1188
+ <element name="numeroGuiaPrincipal" type="ans:st_texto20" minOccurs="0"/>
1189
+ <element name="dataAutorizacao" type="ans:st_data" minOccurs="0"/>
1190
+ <element name="senhaAutorizacao" type="ans:st_texto20" minOccurs="0"/>
1191
+ <element name="validadeSenha" type="ans:st_data" minOccurs="0"/>
1192
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
1193
+ <element name="ausenciaCodValidacao" type="ans:dm_ausenciaCodValidacao" minOccurs="0"/>
1194
+ <element name="codValidacao" type="ans:st_texto10" minOccurs="0"/>
1195
+ <element name="dadosBeneficiario" type="ans:ct_beneficiarioDados"/>
1196
+ <element name="planoBeneficiario" type="ans:st_texto40"/>
1197
+ <element name="nomeEmpresa" type="ans:st_texto40" minOccurs="0"/>
1198
+ <element name="numeroTelefone" type="ans:st_texto11" minOccurs="0"/>
1199
+ <element name="nomeTitular" type="ans:st_texto70" minOccurs="0"/>
1200
+ <element name="dadosProfissionaisResponsaveis">
1201
+ <complexType>
1202
+ <sequence>
1203
+ <element name="nomeProfSolic" type="ans:st_texto70" minOccurs="0"/>
1204
+ <element name="croSolic" type="ans:st_texto15" minOccurs="0"/>
1205
+ <element name="ufSolic" type="ans:dm_UF" minOccurs="0"/>
1206
+ <element name="cbosSolic" type="ans:dm_CBOS" minOccurs="0"/>
1207
+ <element name="codigoProfExec" type="ans:st_texto14"/>
1208
+ <element name="nomeProfExec" type="ans:st_texto70"/>
1209
+ <element name="croExec" type="ans:st_texto15"/>
1210
+ <element name="ufExec" type="ans:dm_UF"/>
1211
+ <element name="cnesExec" type="ans:st_texto7"/>
1212
+ <element name="nomeProfExec2" type="ans:st_texto70" minOccurs="0"/>
1213
+ <element name="croExec2" type="ans:st_texto15" minOccurs="0"/>
1214
+ <element name="ufExec2" type="ans:dm_UF" minOccurs="0"/>
1215
+ <element name="cbosExec2" type="ans:dm_CBOS"/>
1216
+ </sequence>
1217
+ </complexType>
1218
+ </element>
1219
+ <element name="procedimentosExecutados" maxOccurs="unbounded">
1220
+ <complexType>
1221
+ <sequence>
1222
+ <element name="sequencialItem" type="ans:st_numerico4"/>
1223
+ <element name="procSolic" type="ans:ct_procedimentoDados"/>
1224
+ <element name="denteRegiao" minOccurs="0">
1225
+ <complexType>
1226
+ <choice>
1227
+ <element name="codDente" type="ans:dm_dente"/>
1228
+ <element name="codRegiao" type="ans:dm_regiao"/>
1229
+ </choice>
1230
+ </complexType>
1231
+ </element>
1232
+ <element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
1233
+ <element name="qtdProc" type="ans:st_numerico2"/>
1234
+ <element name="qtdUS" type="ans:st_decimal8-2" minOccurs="0"/>
1235
+ <element name="valorProc" type="ans:st_decimal8-2"/>
1236
+ <element name="valorFranquia" type="ans:st_decimal8-2" minOccurs="0"/>
1237
+ <element name="autorizado" type="ans:st_logico"/>
1238
+ <element name="dataRealizacao" type="ans:st_data"/>
1239
+ </sequence>
1240
+ </complexType>
1241
+ </element>
1242
+ <element name="dataTerminoTrat" type="ans:st_data" minOccurs="0"/>
1243
+ <element name="tipoAtendimento" type="ans:dm_tipoAtendimentoOdonto"/>
1244
+ <element name="tipoFaturamento" type="ans:dm_tipoFaturamentoOdonto"/>
1245
+ <element name="qtdTotalUS" type="ans:st_decimal8-2" minOccurs="0"/>
1246
+ <element name="valorTotalProc" type="ans:st_decimal10-2"/>
1247
+ <element name="valorTotalFranquia" type="ans:st_decimal10-2" minOccurs="0"/>
1248
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
1249
+ <element name="odontoInicial" type="ans:cto_anexoSituacaoInicialnaGTO" minOccurs="0"/>
1250
+ <element name="assinaturaDigitalGuia" type="ans:Signature" minOccurs="0"/>
1251
+ <!--<element name="assinaturaDigitalGuia" type="ans:assinaturaDigital" minOccurs="0"/>-->
1252
+ </sequence>
1253
+ </complexType>
1254
+ <!--============== GUIA DE TRATAMENTO ODONTOLOGICO - SOLICITA��O===========-->
1255
+ <complexType name="cto_odontoSolicitacaoGuia">
1256
+ <sequence>
1257
+ <element name="registroANS" type="ans:st_registroANS"/>
1258
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
1259
+ <!--<element name="dataEmissaoGuia" type="ans:st_data" minOccurs="0"/>-->
1260
+ <element name="numeroGuiaPrincipal" type="ans:st_texto20" minOccurs="0"/>
1261
+ <element name="ausenciaCodValidacao" type="ans:dm_ausenciaCodValidacao" minOccurs="0"/>
1262
+ <element name="codValidacao" type="ans:st_texto10" minOccurs="0"/>
1263
+ <element name="numeroCarteira" type="ans:st_texto20"/>
1264
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
1265
+ <element name="atendimentoRN" type="ans:dm_simNao"/>
1266
+ <element name="numeroCNS" type="ans:st_texto15" minOccurs="0"/>
1267
+ <element name="tipoIdent" type="ans:dm_tipoIdent" minOccurs="0"/>
1268
+ <element name="identificadorBeneficiario" type="base64Binary" minOccurs="0"/>
1269
+ <element name="templateBiometrico" type="base64Binary" minOccurs="0"/>
1270
+ <element name="planoBeneficiario" type="ans:st_texto40"/>
1271
+ <element name="nomeEmpresa" type="ans:st_texto40" minOccurs="0"/>
1272
+ <element name="numeroTelefone" type="ans:st_texto20" minOccurs="0"/>
1273
+ <element name="nomeTitular" type="ans:st_texto70" minOccurs="0"/>
1274
+ <element name="dadosProfissionaisResponsaveis">
1275
+ <complexType>
1276
+ <sequence>
1277
+ <element name="nomeProfSolic" type="ans:st_texto70" minOccurs="0"/>
1278
+ <element name="croSolic" type="ans:st_texto20" minOccurs="0"/>
1279
+ <element name="ufSolic" type="ans:dm_UF" minOccurs="0"/>
1280
+ <element name="cbosSolic" type="ans:dm_CBOS" minOccurs="0"/>
1281
+ <element name="codigoProfExec" type="ans:st_texto14"/>
1282
+ <element name="nomeProfExec" type="ans:st_texto70"/>
1283
+ <element name="croExec" type="ans:st_texto20"/>
1284
+ <element name="ufExec" type="ans:dm_UF"/>
1285
+ <element name="cnesExec" type="ans:st_texto7"/>
1286
+ <element name="nomeProfExec2" type="ans:st_texto70" minOccurs="0"/>
1287
+ <element name="croExec2" type="ans:st_texto20" minOccurs="0"/>
1288
+ <element name="ufExec2" type="ans:dm_UF" minOccurs="0"/>
1289
+ <element name="cbosExec2" type="ans:dm_CBOS"/>
1290
+ </sequence>
1291
+ </complexType>
1292
+ </element>
1293
+ <element name="procedimentosSolicitados" maxOccurs="unbounded">
1294
+ <complexType>
1295
+ <sequence>
1296
+ <element name="procSolic" type="ans:ct_procedimentoDados"/>
1297
+ <element name="denteRegiao" minOccurs="0">
1298
+ <complexType>
1299
+ <choice>
1300
+ <element name="codDente" type="ans:dm_dente"/>
1301
+ <element name="codRegiao" type="ans:dm_regiao"/>
1302
+ </choice>
1303
+ </complexType>
1304
+ </element>
1305
+ <element name="denteFace" type="ans:st_texto5" minOccurs="0"/>
1306
+ <element name="qtdProc" type="ans:st_numerico2"/>
1307
+ <element name="qtdUS" type="ans:st_decimal7-2" minOccurs="0"/>
1308
+ <element name="valorProc" type="ans:st_decimal8-2"/>
1309
+ <element name="valorFranquia" type="ans:st_decimal8-2" minOccurs="0"/>
1310
+ <element name="aut" type="ans:dm_simNao" minOccurs="1"/>
1311
+ <element name="dataRealizacao" type="ans:st_data" minOccurs="0"/>
1312
+ </sequence>
1313
+ </complexType>
1314
+ </element>
1315
+ <element name="dataTerminoTrat" type="ans:st_data" minOccurs="0"/>
1316
+ <element name="tipoAtendimento" type="ans:dm_tipoAtendimentoOdonto"/>
1317
+ <element name="qtdTotalUS" type="ans:st_decimal8-2" minOccurs="0"/>
1318
+ <element name="valorTotalProc" type="ans:st_decimal8-2"/>
1319
+ <element name="valorTotalFranquia" type="ans:st_decimal8-2" minOccurs="0"/>
1320
+ <element name="observacao" type="ans:st_texto500" minOccurs="0"/>
1321
+ <element name="odontoInicial" type="ans:cto_anexoSituacaoInicial" minOccurs="0"/>
1322
+ </sequence>
1323
+ </complexType>
1324
+ <!-- ========================== RECURSO DE GLOSA ODONTOLOGIA =========================== -->
1325
+ <complexType name="cto_recursoGlosaOdonto">
1326
+ <sequence>
1327
+ <element name="registroANS" type="ans:st_registroANS"/>
1328
+ <element name="numeroGuiaRecGlosaPrestador" type="ans:st_texto20"/>
1329
+ <element name="nomeOperadora" type="ans:st_texto70"/>
1330
+ <element name="objetoRecurso" type="ans:dm_objetoRecurso"/>
1331
+ <element name="numeroGuiaRecGlosaOperadora" type="ans:st_texto20" minOccurs="0"/>
1332
+ <element name="dadosContratado" type="ans:ct_contratadoDados"/>
1333
+ <element name="numeroLote" type="ans:st_texto12"/>
1334
+ <element name="numeroProtocolo" type="ans:st_numerico12"/>
1335
+ <element name="opcaoRecurso">
1336
+ <complexType>
1337
+ <choice>
1338
+ <element name="recursoProtocolo">
1339
+ <complexType>
1340
+ <sequence>
1341
+ <element name="codigoGlosaProtocolo" type="ans:dm_tipoGlosa"/>
1342
+ <element name="justificativaProtocolo" type="ans:st_texto150"/>
1343
+ </sequence>
1344
+ </complexType>
1345
+ </element>
1346
+ <element name="recursoGuia" maxOccurs="100">
1347
+ <complexType>
1348
+ <sequence>
1349
+ <element name="numeroGuiaPrestador" type="ans:st_texto20"/>
1350
+ <element name="numeroGuiaOperadora" type="ans:st_texto20" minOccurs="0"/>
1351
+ <element name="senha" type="ans:st_texto20" minOccurs="0"/>
1352
+ <element name="nomeBeneficiario" type="ans:st_texto70"/>
1353
+ <element name="codGlosaGuia" type="ans:dm_tipoGlosa"/>
1354
+ <element name="justificativaGuia" type="ans:st_texto150"/>
1355
+ <element name="recursoProcedimento" minOccurs="0" maxOccurs="unbounded">
1356
+ <complexType>
1357
+ <sequence>
1358
+ <element name="sequencialItem" type="ans:st_numerico4"/>
1359
+ <element name="dataRealizacao" type="ans:st_data"/>
1360
+ <element name="denteRegiao" minOccurs="0">
1361
+ <complexType>
1362
+ <choice>
1363
+ <element name="codDente" type="ans:dm_dente"/>
1364
+ <element name="codRegiao" type="ans:dm_regiao"/>
1365
+ </choice>
1366
+ </complexType>
1367
+ </element>
1368
+ <element name="denteFace" type="ans:dm_face" minOccurs="0"/>
1369
+ <element name="quantidade" type="ans:st_numerico2"/>
1370
+ <element name="procRecurso" type="ans:ct_procedimentoDados"/>
1371
+ <element name="codGlosaProc" type="ans:dm_tipoGlosa"/>
1372
+ <element name="justificativaProc" type="ans:st_texto150"/>
1373
+ <element name="valorRecursado" type="ans:st_decimal8-2"/>
1374
+ </sequence>
1375
+ </complexType>
1376
+ </element>
1377
+ </sequence>
1378
+ </complexType>
1379
+ </element>
1380
+ </choice>
1381
+ </complexType>
1382
+ </element>
1383
+ <element name="valorTotalRecursado" type="ans:st_decimal10-2"/>
1384
+ <element name="dataRecurso" type="ans:st_data"/>
1385
+ </sequence>
1386
+ </complexType>
1387
+ </schema>