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