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