tiss-ruby 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +111 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/tiss/constants.rb +73 -0
- data/lib/tiss/creator.rb +52 -0
- data/lib/tiss/generator/generator.rb +20 -0
- data/lib/tiss/generator/generators/base_generator.rb +54 -0
- data/lib/tiss/generator/generators/model_generator.rb +36 -0
- data/lib/tiss/generator/generators/templates/model_template.erb +22 -0
- data/lib/tiss/generator/generators/templates/validator_template.erb +60 -0
- data/lib/tiss/generator/generators/validator_generator.rb +44 -0
- data/lib/tiss/model.rb +66 -0
- data/lib/tiss/models/anexo_clinico.rb +18 -0
- data/lib/tiss/models/anexo_clinico_prorrogacao.rb +18 -0
- data/lib/tiss/models/anexos_clinicos.rb +22 -0
- data/lib/tiss/models/anexos_guias_tiss.rb +22 -0
- data/lib/tiss/models/beneficiario.rb +18 -0
- data/lib/tiss/models/cabecalho_demonstrativo_odonto.rb +26 -0
- data/lib/tiss/models/cabecalho_guia.rb +11 -0
- data/lib/tiss/models/cabecalho_transacao.rb +36 -0
- data/lib/tiss/models/cod_profissional.rb +14 -0
- data/lib/tiss/models/codigo_contratado.rb +14 -0
- data/lib/tiss/models/contratado_executante.rb +11 -0
- data/lib/tiss/models/cpf_cnpj_contratado.rb +14 -0
- data/lib/tiss/models/ct_anexo_cabecalho.rb +34 -0
- data/lib/tiss/models/ct_anexo_lote.rb +14 -0
- data/lib/tiss/models/ct_anexo_recebimento.rb +38 -0
- data/lib/tiss/models/ct_autorizacao_dados.rb +36 -0
- data/lib/tiss/models/ct_autorizacao_internacao.rb +32 -0
- data/lib/tiss/models/ct_autorizacao_sadt.rb +32 -0
- data/lib/tiss/models/ct_autorizacao_solicita_status.rb +18 -0
- data/lib/tiss/models/ct_beneficiario_dados.rb +36 -0
- data/lib/tiss/models/ct_conta_medica_resumo.rb +52 -0
- data/lib/tiss/models/ct_contratado_dados.rb +22 -0
- data/lib/tiss/models/ct_contratado_profissional_dados.rb +26 -0
- data/lib/tiss/models/ct_credito_odonto.rb +14 -0
- data/lib/tiss/models/ct_dados_complementares_beneficiario.rb +26 -0
- data/lib/tiss/models/ct_dados_complementares_beneficiario_radio.rb +14 -0
- data/lib/tiss/models/ct_dados_resumo_demonstrativo.rb +34 -0
- data/lib/tiss/models/ct_demonstrativo_cabecalho.rb +26 -0
- data/lib/tiss/models/ct_demonstrativo_retorno.rb +26 -0
- data/lib/tiss/models/ct_demonstrativo_solicitacao.rb +14 -0
- data/lib/tiss/models/ct_descontos.rb +22 -0
- data/lib/tiss/models/ct_diagnostico.rb +18 -0
- data/lib/tiss/models/ct_diagnostico_oncologico.rb +34 -0
- data/lib/tiss/models/ct_drogas_solicitadas.rb +31 -0
- data/lib/tiss/models/ct_elegibilidade_recibo.rb +58 -0
- data/lib/tiss/models/ct_elegibilidade_verifica.rb +50 -0
- data/lib/tiss/models/ct_fonte_pagadora.rb +14 -0
- data/lib/tiss/models/ct_glosa_recibo.rb +54 -0
- data/lib/tiss/models/ct_glosa_recibo_odonto.rb +54 -0
- data/lib/tiss/models/ct_guia_cabecalho.rb +14 -0
- data/lib/tiss/models/ct_guia_cancelamento.rb +22 -0
- data/lib/tiss/models/ct_guia_cancelamento_recibo.rb +18 -0
- data/lib/tiss/models/ct_guia_dados.rb +44 -0
- data/lib/tiss/models/ct_guia_dados_anexo.rb +34 -0
- data/lib/tiss/models/ct_guia_dados_odonto.rb +66 -0
- data/lib/tiss/models/ct_guia_recurso.rb +26 -0
- data/lib/tiss/models/ct_guia_recurso_lote.rb +14 -0
- data/lib/tiss/models/ct_guia_valor_total.rb +38 -0
- data/lib/tiss/models/ct_guia_valor_total_sadt.rb +34 -0
- data/lib/tiss/models/ct_hipotese_diagnostica.rb +14 -0
- data/lib/tiss/models/ct_ident_equipe.rb +34 -0
- data/lib/tiss/models/ct_ident_equipe_sadt.rb +34 -0
- data/lib/tiss/models/ct_intervalo_ciclos.rb +14 -0
- data/lib/tiss/models/ct_login_senha.rb +14 -0
- data/lib/tiss/models/ct_lote_anexo_status.rb +26 -0
- data/lib/tiss/models/ct_lote_status.rb +30 -0
- data/lib/tiss/models/ct_motivo_glosa.rb +14 -0
- data/lib/tiss/models/ct_opm_utilizada.rb +14 -0
- data/lib/tiss/models/ct_opme_dados.rb +14 -0
- data/lib/tiss/models/ct_outras_despesas.rb +10 -0
- data/lib/tiss/models/ct_pagamento_dados.rb +26 -0
- data/lib/tiss/models/ct_pagamento_resumo.rb +22 -0
- data/lib/tiss/models/ct_prestador_identificacao.rb +18 -0
- data/lib/tiss/models/ct_procedimento_autorizado.rb +51 -0
- data/lib/tiss/models/ct_procedimento_dados.rb +18 -0
- data/lib/tiss/models/ct_procedimento_executado.rb +59 -0
- data/lib/tiss/models/ct_procedimento_executado_honor_indiv.rb +55 -0
- data/lib/tiss/models/ct_procedimento_executado_int.rb +55 -0
- data/lib/tiss/models/ct_procedimento_executado_odonto.rb +47 -0
- data/lib/tiss/models/ct_procedimento_executado_outras.rb +62 -0
- data/lib/tiss/models/ct_procedimento_executado_sadt.rb +55 -0
- data/lib/tiss/models/ct_procedimento_solicitado.rb +18 -0
- data/lib/tiss/models/ct_procedimentos_complementares.rb +18 -0
- data/lib/tiss/models/ct_protocolo_anexo_status.rb +18 -0
- data/lib/tiss/models/ct_protocolo_detalhe.rb +22 -0
- data/lib/tiss/models/ct_protocolo_detalhe_anexo.rb +26 -0
- data/lib/tiss/models/ct_protocolo_recebimento.rb +26 -0
- data/lib/tiss/models/ct_protocolo_recebimento_anexo.rb +30 -0
- data/lib/tiss/models/ct_protocolo_recebimento_recurso.rb +30 -0
- data/lib/tiss/models/ct_protocolo_recurso.rb +18 -0
- data/lib/tiss/models/ct_protocolo_solicitacao_status.rb +14 -0
- data/lib/tiss/models/ct_protocolo_status.rb +18 -0
- data/lib/tiss/models/ct_recebimento_lote.rb +14 -0
- data/lib/tiss/models/ct_recebimento_recurso.rb +14 -0
- data/lib/tiss/models/ct_recibo_cancela_guia.rb +14 -0
- data/lib/tiss/models/ct_recibo_comunicacao.rb +14 -0
- data/lib/tiss/models/ct_recurso_glosa_recebimento.rb +54 -0
- data/lib/tiss/models/ct_resposta_elegibilidade.rb +14 -0
- data/lib/tiss/models/ct_resposta_glosa.rb +22 -0
- data/lib/tiss/models/ct_resposta_glosa_guia_medica.rb +35 -0
- data/lib/tiss/models/ct_resposta_glosa_item_medico.rb +55 -0
- data/lib/tiss/models/ct_resposta_recurso_guia_odonto.rb +34 -0
- data/lib/tiss/models/ct_resposta_recurso_item_odonto.rb +26 -0
- data/lib/tiss/models/ct_situacao_autorizacao.rb +26 -0
- data/lib/tiss/models/ct_situacao_clinica.rb +10 -0
- data/lib/tiss/models/ct_situacao_inicial.rb +22 -0
- data/lib/tiss/models/ct_situacao_protocolo.rb +18 -0
- data/lib/tiss/models/ct_valor_credito_desconto.rb +18 -0
- data/lib/tiss/models/ct_valor_total.rb +18 -0
- data/lib/tiss/models/ctm_anexo_solicitacao_opme.rb +34 -0
- data/lib/tiss/models/ctm_anexo_solicitacao_quimio.rb +55 -0
- data/lib/tiss/models/ctm_anexo_solicitacao_radio.rb +59 -0
- data/lib/tiss/models/ctm_anexo_solicitante.rb +18 -0
- data/lib/tiss/models/ctm_autorizacao_internacao.rb +22 -0
- data/lib/tiss/models/ctm_autorizacao_opme.rb +30 -0
- data/lib/tiss/models/ctm_autorizacao_prorrogacao.rb +22 -0
- data/lib/tiss/models/ctm_autorizacao_quimio.rb +67 -0
- data/lib/tiss/models/ctm_autorizacao_radio.rb +71 -0
- data/lib/tiss/models/ctm_autorizacao_servico.rb +47 -0
- data/lib/tiss/models/ctm_beneficiario_comunicacao.rb +22 -0
- data/lib/tiss/models/ctm_beneficiario_comunicacao_recibo.rb +18 -0
- data/lib/tiss/models/ctm_consulta_atendimento.rb +18 -0
- data/lib/tiss/models/ctm_consulta_guia.rb +52 -0
- data/lib/tiss/models/ctm_demonstrativo_analise_conta.rb +34 -0
- data/lib/tiss/models/ctm_demonstrativo_pagamento.rb +26 -0
- data/lib/tiss/models/ctm_guia_lote.rb +14 -0
- data/lib/tiss/models/ctm_honorario_individual_guia.rb +58 -0
- data/lib/tiss/models/ctm_internacao_dados.rb +42 -0
- data/lib/tiss/models/ctm_internacao_dados_saida.rb +18 -0
- data/lib/tiss/models/ctm_internacao_resumo_guia.rb +54 -0
- data/lib/tiss/models/ctm_internacao_solicitacao_guia.rb +65 -0
- data/lib/tiss/models/ctm_prorrogacao_solicitacao_guia.rb +50 -0
- data/lib/tiss/models/ctm_recurso_glosa.rb +50 -0
- data/lib/tiss/models/ctm_solicitacao_lote.rb +22 -0
- data/lib/tiss/models/ctm_sp_sadt_atendimento.rb +22 -0
- data/lib/tiss/models/ctm_sp_sadt_guia.rb +54 -0
- data/lib/tiss/models/ctm_sp_sadt_solicitacao_guia.rb +65 -0
- data/lib/tiss/models/cto_anexo_situacao_inicial.rb +34 -0
- data/lib/tiss/models/cto_anexo_situacao_inicialna_gto.rb +22 -0
- data/lib/tiss/models/cto_autorizacao_servico.rb +52 -0
- data/lib/tiss/models/cto_demonstrativo_odontologia.rb +42 -0
- data/lib/tiss/models/cto_guia_odontologia.rb +108 -0
- data/lib/tiss/models/cto_odonto_solicitacao_guia.rb +110 -0
- data/lib/tiss/models/cto_recurso_glosa_odonto.rb +50 -0
- data/lib/tiss/models/dados_beneficiario.rb +28 -0
- data/lib/tiss/models/dados_conta.rb +10 -0
- data/lib/tiss/models/dados_contratado.rb +22 -0
- data/lib/tiss/models/dados_contratado_executante.rb +18 -0
- data/lib/tiss/models/dados_executante.rb +22 -0
- data/lib/tiss/models/dados_guia.rb +18 -0
- data/lib/tiss/models/dados_guias_protocolo.rb +14 -0
- data/lib/tiss/models/dados_hospital_solicitado.rb +18 -0
- data/lib/tiss/models/dados_internacao.rb +54 -0
- data/lib/tiss/models/dados_pagamento.rb +71 -0
- data/lib/tiss/models/dados_pagamento_guia.rb +58 -0
- data/lib/tiss/models/dados_pagamento_por_data.rb +26 -0
- data/lib/tiss/models/dados_prestador.rb +26 -0
- data/lib/tiss/models/dados_profissionais_responsaveis.rb +58 -0
- data/lib/tiss/models/dados_resumo.rb +10 -0
- data/lib/tiss/models/dados_solicitacao.rb +18 -0
- data/lib/tiss/models/dados_solicitante.rb +14 -0
- data/lib/tiss/models/deb_cred_demonstrativo.rb +10 -0
- data/lib/tiss/models/deb_cred_por_data_pagamento.rb +10 -0
- data/lib/tiss/models/debitos_creditos_por_data.rb +10 -0
- data/lib/tiss/models/declaracoes.rb +22 -0
- data/lib/tiss/models/demonstrativo_analise.rb +18 -0
- data/lib/tiss/models/demonstrativo_pagamento.rb +22 -0
- data/lib/tiss/models/dente_regiao.rb +14 -0
- data/lib/tiss/models/dentes.rb +14 -0
- data/lib/tiss/models/despesa.rb +24 -0
- data/lib/tiss/models/destino.rb +14 -0
- data/lib/tiss/models/detalhes_guia.rb +43 -0
- data/lib/tiss/models/diagnostico_oncologico_quimioterapia.rb +33 -0
- data/lib/tiss/models/diagnostico_oncologico_radio.rb +14 -0
- data/lib/tiss/models/drogas_solicitadas.rb +10 -0
- data/lib/tiss/models/epilogo.rb +10 -0
- data/lib/tiss/models/glosa_anexo.rb +14 -0
- data/lib/tiss/models/glosa_guia.rb +10 -0
- data/lib/tiss/models/glosa_protocolo.rb +14 -0
- data/lib/tiss/models/glosas_procedimento.rb +14 -0
- data/lib/tiss/models/guias_canceladas.rb +10 -0
- data/lib/tiss/models/guias_cancelamento.rb +14 -0
- data/lib/tiss/models/guias_medicas.rb +10 -0
- data/lib/tiss/models/guias_odonto.rb +10 -0
- data/lib/tiss/models/guias_recurso.rb +22 -0
- data/lib/tiss/models/guias_tiss.rb +34 -0
- data/lib/tiss/models/hipoteses_diagnosticas.rb +14 -0
- data/lib/tiss/models/ident_equipe.rb +10 -0
- data/lib/tiss/models/identificacao_opm.rb +26 -0
- data/lib/tiss/models/identificacao_solicitante.rb +14 -0
- data/lib/tiss/models/identificacao_transacao.rb +22 -0
- data/lib/tiss/models/itens_guia.rb +47 -0
- data/lib/tiss/models/local_contratado.rb +18 -0
- data/lib/tiss/models/lote.rb +14 -0
- data/lib/tiss/models/lote_anexo.rb +14 -0
- data/lib/tiss/models/mensagem_tiss.rb +27 -0
- data/lib/tiss/models/motivos_glosa.rb +10 -0
- data/lib/tiss/models/motivos_negativa.rb +10 -0
- data/lib/tiss/models/opcao_recurso.rb +14 -0
- data/lib/tiss/models/opcao_recurso_guia.rb +18 -0
- data/lib/tiss/models/operadora_prestador.rb +50 -0
- data/lib/tiss/models/opm.rb +10 -0
- data/lib/tiss/models/opme_solicitada.rb +34 -0
- data/lib/tiss/models/opme_solicitadas.rb +10 -0
- data/lib/tiss/models/origem.rb +14 -0
- data/lib/tiss/models/pagamentos.rb +10 -0
- data/lib/tiss/models/pagamentos_por_data.rb +26 -0
- data/lib/tiss/models/periodo.rb +14 -0
- data/lib/tiss/models/periodo_proc.rb +14 -0
- data/lib/tiss/models/prestador_autorizado.rb +14 -0
- data/lib/tiss/models/prestador_operadora.rb +50 -0
- data/lib/tiss/models/procedimento.rb +18 -0
- data/lib/tiss/models/procedimento_realizado.rb +11 -0
- data/lib/tiss/models/procedimento_solicitado.rb +34 -0
- data/lib/tiss/models/procedimentos_adicionais.rb +14 -0
- data/lib/tiss/models/procedimentos_autorizados.rb +48 -0
- data/lib/tiss/models/procedimentos_complementares.rb +11 -0
- data/lib/tiss/models/procedimentos_executados.rb +51 -0
- data/lib/tiss/models/procedimentos_realizados.rb +10 -0
- data/lib/tiss/models/procedimentos_solicitados.rb +54 -0
- data/lib/tiss/models/profissionais.rb +34 -0
- data/lib/tiss/models/protocolos.rb +22 -0
- data/lib/tiss/models/recebimento_anexo.rb +14 -0
- data/lib/tiss/models/recibo_glosa_status.rb +42 -0
- data/lib/tiss/models/recurso_guia.rb +58 -0
- data/lib/tiss/models/recurso_guia_completa.rb +14 -0
- data/lib/tiss/models/recurso_procedimento.rb +55 -0
- data/lib/tiss/models/recurso_protocolo.rb +23 -0
- data/lib/tiss/models/relacao_glosa.rb +14 -0
- data/lib/tiss/models/relacao_guias.rb +70 -0
- data/lib/tiss/models/resposta_elegibilidade.rb +14 -0
- data/lib/tiss/models/servicos_autorizados.rb +10 -0
- data/lib/tiss/models/situacao_demonstrativo_retorno.rb +34 -0
- data/lib/tiss/models/totais_bruto_demonstrativo.rb +26 -0
- data/lib/tiss/models/totais_brutos_demonstrativo.rb +22 -0
- data/lib/tiss/models/totais_brutos_por_data.rb +22 -0
- data/lib/tiss/models/totais_demonstrativo.rb +18 -0
- data/lib/tiss/models/totais_liquidos_demonstrativo.rb +18 -0
- data/lib/tiss/models/totais_liquidos_por_data.rb +18 -0
- data/lib/tiss/models/totais_por_data.rb +26 -0
- data/lib/tiss/models/totais_por_protocolo.rb +26 -0
- data/lib/tiss/models/total_liquido_por_data.rb +18 -0
- data/lib/tiss/models/tratamentos_anteriores.rb +30 -0
- data/lib/tiss/tiss.rb +39 -0
- data/lib/tiss/version.rb +5 -0
- data/lib/tiss/xsd/class_maker.rb +242 -0
- data/lib/tiss/xsd/convert.rb +26 -0
- data/lib/tiss-ruby.rb +3 -0
- data/lib/xsd/class_maker.rb +219 -0
- data/lib/xsd/convert.rb +26 -0
- data/resources/TabelasDominio.doc +0 -0
- data/resources/tissAssinaturaDigital_v1.01.xsd +16 -0
- data/resources/tissComplexTypesV3_02_00.xsd +1370 -0
- data/resources/tissComplexTypesV3_02_01.xsd +1370 -0
- data/resources/tissComplexTypesV3_02_02.xsd +1370 -0
- data/resources/tissComplexTypesV3_03_01.xsd +1372 -0
- data/resources/tissComplexTypesV3_03_02.xsd +1372 -0
- data/resources/tissComplexTypesV3_03_03.xsd +1372 -0
- data/resources/tissComplexTypesV3_04_00.xsd +1406 -0
- data/resources/tissGuiasV3_02_00.xsd +1387 -0
- data/resources/tissGuiasV3_02_01.xsd +1388 -0
- data/resources/tissGuiasV3_02_02.xsd +1389 -0
- data/resources/tissGuiasV3_03_01.xsd +1402 -0
- data/resources/tissGuiasV3_03_02.xsd +1401 -0
- data/resources/tissGuiasV3_03_03.xsd +1401 -0
- data/resources/tissGuiasV3_04_00.xsd +1387 -0
- data/resources/tissSimpleTypesV3_02_00.xsd +3158 -0
- data/resources/tissSimpleTypesV3_02_01.xsd +3597 -0
- data/resources/tissSimpleTypesV3_02_02.xsd +3830 -0
- data/resources/tissSimpleTypesV3_03_01.xsd +4120 -0
- data/resources/tissSimpleTypesV3_03_02.xsd +4144 -0
- data/resources/tissSimpleTypesV3_03_03.xsd +4163 -0
- data/resources/tissSimpleTypesV3_04_00.xsd +4233 -0
- data/resources/tissV3_02_00.xsd +118 -0
- data/resources/tissV3_02_01.xsd +118 -0
- data/resources/tissV3_02_02.xsd +121 -0
- data/resources/tissV3_03_01.xsd +118 -0
- data/resources/tissV3_03_02.xsd +118 -0
- data/resources/tissV3_03_03.xsd +118 -0
- data/resources/tissV3_04_00.xsd +118 -0
- data/resources/xmldsig-core-schema.xsd +309 -0
- data/tiss-ruby.gemspec +55 -0
- metadata +569 -0
@@ -0,0 +1,118 @@
|
|
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.01.01 - Mensagens do Padr�o TISS-->
|
4
|
+
<include schemaLocation="tissAssinaturaDigital_v1.01.xsd"/>
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_02_00.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_02_00.xsd"/>
|
7
|
+
<include schemaLocation="tissGuiasV3_02_00.xsd"/>
|
8
|
+
<!-- Estrutura da mensagem do TISS -->
|
9
|
+
<element name="mensagemTISS">
|
10
|
+
<complexType>
|
11
|
+
<sequence>
|
12
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
13
|
+
<choice>
|
14
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
15
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
16
|
+
</choice>
|
17
|
+
<element name="epilogo" type="ans:epilogo"/>
|
18
|
+
<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<!-- Definicao do cabecalho das mensagens -->
|
23
|
+
<complexType name="cabecalhoTransacao">
|
24
|
+
<sequence>
|
25
|
+
<element name="identificacaoTransacao">
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
29
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
30
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
31
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
32
|
+
</sequence>
|
33
|
+
</complexType>
|
34
|
+
</element>
|
35
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
36
|
+
<element name="origem">
|
37
|
+
<complexType>
|
38
|
+
<choice>
|
39
|
+
<!-- origem de mensagens de prestadoreas para as operadoras -->
|
40
|
+
<element name="identificacaoPrestador">
|
41
|
+
<complexType>
|
42
|
+
<complexContent>
|
43
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
44
|
+
</complexContent>
|
45
|
+
</complexType>
|
46
|
+
</element>
|
47
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
48
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
49
|
+
</choice>
|
50
|
+
</complexType>
|
51
|
+
</element>
|
52
|
+
<element name="destino">
|
53
|
+
<complexType>
|
54
|
+
<choice>
|
55
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
56
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
57
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
58
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
59
|
+
</choice>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="versaoPadrao" type="ans:dm_versao"/>
|
63
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
64
|
+
</sequence>
|
65
|
+
</complexType>
|
66
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
67
|
+
<complexType name="operadoraPrestador">
|
68
|
+
<choice>
|
69
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
70
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
71
|
+
<complexType>
|
72
|
+
<choice>
|
73
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
74
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
75
|
+
</choice>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
79
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
80
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
81
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
82
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
83
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
84
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
85
|
+
<complexType>
|
86
|
+
<choice>
|
87
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
88
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
89
|
+
</choice>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
93
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
94
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
98
|
+
<complexType name="prestadorOperadora">
|
99
|
+
<choice>
|
100
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
101
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
102
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
103
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
104
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
105
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
106
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
107
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
108
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
109
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
110
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
111
|
+
</choice>
|
112
|
+
</complexType>
|
113
|
+
<complexType name="epilogo">
|
114
|
+
<sequence>
|
115
|
+
<element name="hash" type="string"/>
|
116
|
+
</sequence>
|
117
|
+
</complexType>
|
118
|
+
</schema>
|
@@ -0,0 +1,118 @@
|
|
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.02.01 - Mensagens do Padr�o TISS-->
|
4
|
+
<include schemaLocation="tissAssinaturaDigital_v1.01.xsd"/>
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_02_01.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_02_01.xsd"/>
|
7
|
+
<include schemaLocation="tissGuiasV3_02_01.xsd"/>
|
8
|
+
<!-- Estrutura da mensagem do TISS -->
|
9
|
+
<element name="mensagemTISS">
|
10
|
+
<complexType>
|
11
|
+
<sequence>
|
12
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
13
|
+
<choice>
|
14
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
15
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
16
|
+
</choice>
|
17
|
+
<element name="epilogo" type="ans:epilogo"/>
|
18
|
+
<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<!-- Definicao do cabecalho das mensagens -->
|
23
|
+
<complexType name="cabecalhoTransacao">
|
24
|
+
<sequence>
|
25
|
+
<element name="identificacaoTransacao">
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
29
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
30
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
31
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
32
|
+
</sequence>
|
33
|
+
</complexType>
|
34
|
+
</element>
|
35
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
36
|
+
<element name="origem">
|
37
|
+
<complexType>
|
38
|
+
<choice>
|
39
|
+
<!-- origem de mensagens de prestadoreas para as operadoras -->
|
40
|
+
<element name="identificacaoPrestador">
|
41
|
+
<complexType>
|
42
|
+
<complexContent>
|
43
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
44
|
+
</complexContent>
|
45
|
+
</complexType>
|
46
|
+
</element>
|
47
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
48
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
49
|
+
</choice>
|
50
|
+
</complexType>
|
51
|
+
</element>
|
52
|
+
<element name="destino">
|
53
|
+
<complexType>
|
54
|
+
<choice>
|
55
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
56
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
57
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
58
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
59
|
+
</choice>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="versaoPadrao" type="ans:dm_versao"/>
|
63
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
64
|
+
</sequence>
|
65
|
+
</complexType>
|
66
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
67
|
+
<complexType name="operadoraPrestador">
|
68
|
+
<choice>
|
69
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
70
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
71
|
+
<complexType>
|
72
|
+
<choice>
|
73
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
74
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
75
|
+
</choice>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
79
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
80
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
81
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
82
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
83
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
84
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
85
|
+
<complexType>
|
86
|
+
<choice>
|
87
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
88
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
89
|
+
</choice>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
93
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
94
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
98
|
+
<complexType name="prestadorOperadora">
|
99
|
+
<choice>
|
100
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
101
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
102
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
103
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
104
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
105
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
106
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
107
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
108
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
109
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
110
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
111
|
+
</choice>
|
112
|
+
</complexType>
|
113
|
+
<complexType name="epilogo">
|
114
|
+
<sequence>
|
115
|
+
<element name="hash" type="string"/>
|
116
|
+
</sequence>
|
117
|
+
</complexType>
|
118
|
+
</schema>
|
@@ -0,0 +1,121 @@
|
|
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.02.02 - Mensagens do Padr�o TISS-->
|
4
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<!--<include schemaLocation="tissAssinaturaDigital_v1.01.xsd"/>-->
|
6
|
+
<include schemaLocation="tissSimpleTypesV3_02_02.xsd"/>
|
7
|
+
<include schemaLocation="tissComplexTypesV3_02_02.xsd"/>
|
8
|
+
<include schemaLocation="tissGuiasV3_02_02.xsd"/>
|
9
|
+
<!-- Estrutura da mensagem do TISS -->
|
10
|
+
<element name="mensagemTISS">
|
11
|
+
<complexType>
|
12
|
+
<sequence>
|
13
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
14
|
+
<choice>
|
15
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
16
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
17
|
+
</choice>
|
18
|
+
<element name="epilogo" type="ans:epilogo"/>
|
19
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
20
|
+
<!--<element name="assinaturaDigital" type="ans:assinaturaDigital" minOccurs="0"/>-->
|
21
|
+
<!--<element name="assinaturaDigital" type="ds:signature" minOccurs="0"/>-->
|
22
|
+
</sequence>
|
23
|
+
</complexType>
|
24
|
+
</element>
|
25
|
+
<!-- Definicao do cabecalho das mensagens -->
|
26
|
+
<complexType name="cabecalhoTransacao">
|
27
|
+
<sequence>
|
28
|
+
<element name="identificacaoTransacao">
|
29
|
+
<complexType>
|
30
|
+
<sequence>
|
31
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
32
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
33
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
34
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
35
|
+
</sequence>
|
36
|
+
</complexType>
|
37
|
+
</element>
|
38
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
39
|
+
<element name="origem">
|
40
|
+
<complexType>
|
41
|
+
<choice>
|
42
|
+
<!-- origem de mensagens de prestadoreas para as operadoras -->
|
43
|
+
<element name="identificacaoPrestador">
|
44
|
+
<complexType>
|
45
|
+
<complexContent>
|
46
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
47
|
+
</complexContent>
|
48
|
+
</complexType>
|
49
|
+
</element>
|
50
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
51
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
52
|
+
</choice>
|
53
|
+
</complexType>
|
54
|
+
</element>
|
55
|
+
<element name="destino">
|
56
|
+
<complexType>
|
57
|
+
<choice>
|
58
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
59
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
60
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
61
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
62
|
+
</choice>
|
63
|
+
</complexType>
|
64
|
+
</element>
|
65
|
+
<element name="Padrao" type="ans:dm_versao"/>
|
66
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
67
|
+
</sequence>
|
68
|
+
</complexType>
|
69
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
70
|
+
<complexType name="operadoraPrestador">
|
71
|
+
<choice>
|
72
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
73
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
74
|
+
<complexType>
|
75
|
+
<choice>
|
76
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
77
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
78
|
+
</choice>
|
79
|
+
</complexType>
|
80
|
+
</element>
|
81
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
82
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
83
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
84
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
85
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
86
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
87
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
88
|
+
<complexType>
|
89
|
+
<choice>
|
90
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
91
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
92
|
+
</choice>
|
93
|
+
</complexType>
|
94
|
+
</element>
|
95
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
96
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
97
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
98
|
+
</choice>
|
99
|
+
</complexType>
|
100
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
101
|
+
<complexType name="prestadorOperadora">
|
102
|
+
<choice>
|
103
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
104
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
105
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
106
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
107
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
108
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
109
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
110
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
111
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
112
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
113
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
114
|
+
</choice>
|
115
|
+
</complexType>
|
116
|
+
<complexType name="epilogo">
|
117
|
+
<sequence>
|
118
|
+
<element name="hash" type="string"/>
|
119
|
+
</sequence>
|
120
|
+
</complexType>
|
121
|
+
</schema>
|
@@ -0,0 +1,118 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ans="http://www.ans.gov.br/padroes/tiss/schemas" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.ans.gov.br/padroes/tiss/schemas" elementFormDefault="qualified">
|
3
|
+
<!--VERS�O TISS 3.03.01 - Mensagens do Padr�o TISS-->
|
4
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_03_01.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_03_01.xsd"/>
|
7
|
+
<include schemaLocation="tissGuiasV3_03_01.xsd"/>
|
8
|
+
<!-- Estrutura da mensagem do TISS -->
|
9
|
+
<element name="mensagemTISS">
|
10
|
+
<complexType>
|
11
|
+
<sequence>
|
12
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
13
|
+
<choice>
|
14
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
15
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
16
|
+
</choice>
|
17
|
+
<element name="epilogo" type="ans:epilogo"/>
|
18
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<!-- Definicao do cabecalho das mensagens -->
|
23
|
+
<complexType name="cabecalhoTransacao">
|
24
|
+
<sequence>
|
25
|
+
<element name="identificacaoTransacao">
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
29
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
30
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
31
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
32
|
+
</sequence>
|
33
|
+
</complexType>
|
34
|
+
</element>
|
35
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
36
|
+
<element name="origem">
|
37
|
+
<complexType>
|
38
|
+
<choice>
|
39
|
+
<!-- origem de mensagens de prestadores para as operadoras -->
|
40
|
+
<element name="identificacaoPrestador">
|
41
|
+
<complexType>
|
42
|
+
<complexContent>
|
43
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
44
|
+
</complexContent>
|
45
|
+
</complexType>
|
46
|
+
</element>
|
47
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
48
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
49
|
+
</choice>
|
50
|
+
</complexType>
|
51
|
+
</element>
|
52
|
+
<element name="destino">
|
53
|
+
<complexType>
|
54
|
+
<choice>
|
55
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
56
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
57
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
58
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
59
|
+
</choice>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="Padrao" type="ans:dm_versao"/>
|
63
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
64
|
+
</sequence>
|
65
|
+
</complexType>
|
66
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
67
|
+
<complexType name="operadoraPrestador">
|
68
|
+
<choice>
|
69
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
70
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
71
|
+
<complexType>
|
72
|
+
<choice>
|
73
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
74
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
75
|
+
</choice>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
79
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
80
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
81
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
82
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
83
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
84
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
85
|
+
<complexType>
|
86
|
+
<choice>
|
87
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
88
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
89
|
+
</choice>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
93
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
94
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
98
|
+
<complexType name="prestadorOperadora">
|
99
|
+
<choice>
|
100
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
101
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
102
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
103
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
104
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
105
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
106
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
107
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
108
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
109
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
110
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
111
|
+
</choice>
|
112
|
+
</complexType>
|
113
|
+
<complexType name="epilogo">
|
114
|
+
<sequence>
|
115
|
+
<element name="hash" type="string"/>
|
116
|
+
</sequence>
|
117
|
+
</complexType>
|
118
|
+
</schema>
|
@@ -0,0 +1,118 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ans="http://www.ans.gov.br/padroes/tiss/schemas" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.ans.gov.br/padroes/tiss/schemas" elementFormDefault="qualified">
|
3
|
+
<!--VERS�O TISS 3.03.02 - Mensagens do Padr�o TISS-->
|
4
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<include schemaLocation="tissSimpleTypesV3_03_02.xsd"/>
|
6
|
+
<include schemaLocation="tissComplexTypesV3_03_02.xsd"/>
|
7
|
+
<include schemaLocation="tissGuiasV3_03_02.xsd"/>
|
8
|
+
<!-- Estrutura da mensagem do TISS -->
|
9
|
+
<element name="mensagemTISS">
|
10
|
+
<complexType>
|
11
|
+
<sequence>
|
12
|
+
<element name="cabecalho" type="ans:cabecalhoTransacao"/>
|
13
|
+
<choice>
|
14
|
+
<element name="operadoraParaPrestador" type="ans:operadoraPrestador" minOccurs="0"/>
|
15
|
+
<element name="prestadorParaOperadora" type="ans:prestadorOperadora" minOccurs="0"/>
|
16
|
+
</choice>
|
17
|
+
<element name="epilogo" type="ans:epilogo"/>
|
18
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
19
|
+
</sequence>
|
20
|
+
</complexType>
|
21
|
+
</element>
|
22
|
+
<!-- Definicao do cabecalho das mensagens -->
|
23
|
+
<complexType name="cabecalhoTransacao">
|
24
|
+
<sequence>
|
25
|
+
<element name="identificacaoTransacao">
|
26
|
+
<complexType>
|
27
|
+
<sequence>
|
28
|
+
<element name="tipoTransacao" type="ans:dm_tipoTransacao"/>
|
29
|
+
<element name="sequencialTransacao" type="ans:st_texto12"/>
|
30
|
+
<element name="dataRegistroTransacao" type="ans:st_data"/>
|
31
|
+
<element name="horaRegistroTransacao" type="ans:st_hora"/>
|
32
|
+
</sequence>
|
33
|
+
</complexType>
|
34
|
+
</element>
|
35
|
+
<element name="falhaNegocio" type="ans:dm_tipoGlosa" minOccurs="0"/>
|
36
|
+
<element name="origem">
|
37
|
+
<complexType>
|
38
|
+
<choice>
|
39
|
+
<!-- origem de mensagens de prestadores para as operadoras -->
|
40
|
+
<element name="identificacaoPrestador">
|
41
|
+
<complexType>
|
42
|
+
<complexContent>
|
43
|
+
<extension base="ans:ct_prestadorIdentificacao"/>
|
44
|
+
</complexContent>
|
45
|
+
</complexType>
|
46
|
+
</element>
|
47
|
+
<!-- origem de mensagens de operadoras para os prestadores -->
|
48
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
49
|
+
</choice>
|
50
|
+
</complexType>
|
51
|
+
</element>
|
52
|
+
<element name="destino">
|
53
|
+
<complexType>
|
54
|
+
<choice>
|
55
|
+
<!-- destino de mensagens de operadoras para prestadores: informar c�digo prestador na operadora -->
|
56
|
+
<element name="identificacaoPrestador" type="ans:ct_prestadorIdentificacao"/>
|
57
|
+
<!-- destino de mensagens de prestadores para as operadoras: informar registro ANS da operadora -->
|
58
|
+
<element name="registroANS" type="ans:st_registroANS"/>
|
59
|
+
</choice>
|
60
|
+
</complexType>
|
61
|
+
</element>
|
62
|
+
<element name="Padrao" type="ans:dm_versao"/>
|
63
|
+
<element name="loginSenhaPrestador" type="ans:ct_loginSenha" minOccurs="0"/>
|
64
|
+
</sequence>
|
65
|
+
</complexType>
|
66
|
+
<!-- ************************************************ Mensagens da OPERADORA para o PRESTADOR ************** -->
|
67
|
+
<complexType name="operadoraPrestador">
|
68
|
+
<choice>
|
69
|
+
<element name="recebimentoLote" type="ans:ct_recebimentoLote" minOccurs="0"/>
|
70
|
+
<element name="recebimentoAnexo" minOccurs="0">
|
71
|
+
<complexType>
|
72
|
+
<choice>
|
73
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
74
|
+
<element name="protocoloRecebimentoAnexo" type="ans:ct_anexoRecebimento"/>
|
75
|
+
</choice>
|
76
|
+
</complexType>
|
77
|
+
</element>
|
78
|
+
<element name="recebimentoRecursoGlosa" type="ans:ct_recebimentoRecurso" minOccurs="0"/>
|
79
|
+
<element name="demonstrativosRetorno" type="ans:ct_demonstrativoRetorno" minOccurs="0"/>
|
80
|
+
<element name="situacaoProtocolo" type="ans:ct_situacaoProtocolo" minOccurs="0"/>
|
81
|
+
<!-- Estrutura para responder a solicita��o de procedimento (ctm_solicitcaoLote) -->
|
82
|
+
<element name="autorizacaoServicos" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
83
|
+
<element name="situacaoAutorizacao" type="ans:ct_situacaoAutorizacao" minOccurs="0"/>
|
84
|
+
<element name="respostaElegibilidade" minOccurs="0">
|
85
|
+
<complexType>
|
86
|
+
<choice>
|
87
|
+
<element name="mensagemErro" type="ans:ct_motivoGlosa"/>
|
88
|
+
<element name="reciboElegibilidade" type="ans:ct_elegibilidadeRecibo"/>
|
89
|
+
</choice>
|
90
|
+
</complexType>
|
91
|
+
</element>
|
92
|
+
<element name="reciboCancelaGuia" type="ans:ct_reciboCancelaGuia" minOccurs="0"/>
|
93
|
+
<element name="reciboComunicacao" type="ans:ct_reciboComunicacao" minOccurs="0"/>
|
94
|
+
<element name="respostaRecursoGlosa" type="ans:ct_respostaGlosa" minOccurs="0"/>
|
95
|
+
</choice>
|
96
|
+
</complexType>
|
97
|
+
<!-- ************************************************ Mensagens da PRESTADOR para a OPERADORA ************** -->
|
98
|
+
<complexType name="prestadorOperadora">
|
99
|
+
<choice>
|
100
|
+
<element name="loteGuias" type="ans:ctm_guiaLote" minOccurs="0"/>
|
101
|
+
<element name="loteAnexos" type="ans:ct_anexoLote" minOccurs="0"/>
|
102
|
+
<element name="solicitacaoDemonstrativoRetorno" type="ans:ct_demonstrativoSolicitacao" minOccurs="0"/>
|
103
|
+
<element name="solicitacaoStatusProtocolo" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
104
|
+
<element name="solicitacaoProcedimento" type="ans:ct_solicitacaoProcedimento" minOccurs="0"/>
|
105
|
+
<element name="solicitaStatusAutorizacao" type="ans:ct_autorizacaoSolicitaStatus" minOccurs="0"/>
|
106
|
+
<element name="verificaElegibilidade" type="ans:ct_elegibilidadeVerifica" minOccurs="0"/>
|
107
|
+
<element name="cancelaGuia" type="ans:ct_guiaCancelamento" minOccurs="0"/>
|
108
|
+
<element name="comunicacaoInternacao" type="ans:ctm_beneficiarioComunicacao" minOccurs="0"/>
|
109
|
+
<element name="recursoGlosa" type="ans:ct_guiaRecursoLote" minOccurs="0"/>
|
110
|
+
<element name="solicitacaoStatusRecursoGlosa" type="ans:ct_protocoloSolicitacaoStatus" minOccurs="0"/>
|
111
|
+
</choice>
|
112
|
+
</complexType>
|
113
|
+
<complexType name="epilogo">
|
114
|
+
<sequence>
|
115
|
+
<element name="hash" type="string"/>
|
116
|
+
</sequence>
|
117
|
+
</complexType>
|
118
|
+
</schema>
|