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