Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Expandir
titleExemplo JSON entrada - saveDocument

{

    

    "documentos": [
     

[

  {

            "anoFatura

            "cdTransacao":

 0

2,

            "anoGuiaAtendimento

            "cdUnidade":

 0

120,

            "anoGuiaOrigem

            "cdUnidadePrestadora":

 0

120,

            "anoNDR"0,
            "anoPeriodo"2020,
            "caraterSolicitacao""E",
            "cdCarteiraUsuario": 999999999999,
            "cdCboSolicitante""201115",
            "cdCid""",
            "cdCid1""",
            "cdCid2""",
            "cdCid3""",
            "cdCidObito""",
            "cdCidObito1""",
            "cdCidObito2""",
            "cdCidObito3""",
            "cdCidObito4""",
            "cdCidObito5""",
            "cdClasseHospitalar"1,
            "cdConselhoProfSolic""CRM",
            "cdCorenEnfermAuditor""",
            "cdCrmMedicoAuditor""2",
            "cdEspecialidSolicitante"16,
            "cdFaturamento""",
            "cdMotivoAlta"0,
            "cdPrestadorImp"0,
            "cdPrestadorPrincipal"11521,
            "cdPrestadorSolicitante"11521,
            "cdTransacao"3001,
            "cdTransacaoAnt"0,
            "cdUfEnfermAuditor""",
            "cdUfMedicoAuditor""",
            "cdUnidCdPrestExec""",
            "cdUnidade": 9999,
            "cdUnidadeAnt"0,
            "cdUnidadeCarteira": 9999,
            "cdUnidadeImp"0,
            "cdUnidadePrestPrincipal": 9999,
            "cdUnidadePrestadora": 9999,
            "cdUnidadePrestadoraAnt"0,
            "cdUnidadeSolicitante": 9999,
            "cdVinculoPrestPrincipal"2,
            "cdVinculoSolicitante"2,
            "codLotePrestadorTiss""",
            "dsIndClinica""",
            "dsObservacao""consulta",
            "dtAlta"null,
            "dtAutorizacaoOrigem"null,
            "dtDigitacao""2020-10-26",
            "dtEmissao""2020-10-20",
            "dtInternacao"null,
            "dtSolicitacaoOrigem"null,
            "hrAlta""",
            "hrDigitacao""091937",
            "hrInternacao""",
            "inStatusDocto"2,
            "indAcidente"9,
            "nmDeclNascViv""",
            "nmDeclNascViv2""",
            "nmDeclNascViv3""",
            "nmDeclNascViv4""",
            "nmDeclNascViv5""",
            "nmDeclObt"0,
            "nmEnfermAuditor""",
            "nmMedicoAuditor""",
            "nmProfSol""AQUI",
            "nrConselhoProfSolic""12321",
            "nrDeclaracaoObito""",
            "nrDeclaracaoObito1""",
            "nrDeclaracaoObito2""",
            "nrDeclaracaoObito3""",
            "nrDeclaracaoObito4""",
            "nrDeclaracaoObito5""",
            "nrDocOriginal"2,
            "nrDocOriginalAnt"0,
            "nrDocSistema"0,
            "nrDocSistemaAnt"0,
            "nrFatura""",
            "nrGuiaAtendimento"0,
            "nrGuiaOrigem"0,
            "nrGuiaPrestador""",
            "nrLote"null,
            "nrLoteImp"0,
            "nrNDR""",
            "nrPeriodo"10,
            "nrSequenciaImp"0,
            "nrSerieDocOriginal""API",
            "nrSerieDocOriginalAnt""",
            "nrSerieFatura""",
            "nrSerieNDR""",

            "atendimentoRN": false,

            "dtRealizacao": "2020-10-20",

            "hrRealizacao""14:00",
            "inAcidente": 1,

            "logAtendimRN": false,
            "procedimentos": [{
                    "cdAnvisa""",
                    "cdFatReducaoAcrescimo"0,
                    "cdModulo"9,
                    "cdMovimento""10101012",
                    "cdPacoteSispac""",
                    "cdTipoAcomodacaoSispac""",
                    "cdTipoInsumo"0,
                    "cdUnidOrigemSispac""",
                    "cdViaAcesso"1,
                    "cnpjcpfSispac""",
                    "desReferMaterFabrican""",
                    "dsInsumoGenerico""",
                    "dsMovimento""CONSULTA",
                    "dtLimite"null,
                    "dtRealizacao""2020-10-20",
                    "glosas": [],
                    "hrRealizacao""14:00",
                    "hrRealizacaoFim""14:00",
                    "idRegistro"1,
                    "idRegistroDoc""9999/9999/3001/API/2/0",
                    "idRegistroPacote"0,
                    "nmFornecedor""",
                    "nrNotaFornecedor""",
                    "prestadores": [{
                            "cdCbo""",
                            "cdCboDiviHono""",
                            "cdConselho""crm",
                            "cdEspPrestDiviHono"0,
                            "cdEspecialid"16,
                            "cdPorteAnestesico"0,
                            "cdPorteAnestesicoCob"0,
                            "cdPrestador"11521,
                            "cdPrestadorDiviHono"0,
                            "cdTipoVincDiviHono"0,
                            "cdTipoVinculo"0,
                            "cdUfConselho""rs",
                            "cdUnidade": 9999,
                            "cdUnidadePrestDiviHono"0,
                            "cdnNivTiss"0,
                            "codCPFProfissionalExec""99999999999",
                            "idRegistroMovto"1,
                            "inStatus"2,
                            "lgAdicionalUrgencia"false,
                            "lgDivisaoHonorario"false,
                            "lgUrgencia"false,
                            "nmProfissionalExec""Dr. da Clinica",
                            "nrProcesso"1,
                            "nrRegistro""115221",
                            "nrSeqDigitacao"1,
                            "qtCobrado"1.0,
                            "qtMovimento"1.0,
                            "qtVezesTabelaCob"1.0,
                            "qtVezesTabelaPag"1.0,
                            "vlCobrado"6.0,
                            "vlCobradoHono"0.0,
                            "vlDescontoPrestador"0.0,
                            "vlGlosado"0.0,
                            "vlGlosadoHono"0.0,
                            "vlMovimento"6.0,
                            "vlMovimentoHono"0.0,
                            "vlTaxaCobrado"0.0,
                            "vlTaxaCobradoHono"0.0,
                            "vlTaxaMovimento"0.0,
                            "vlTaxaMovimentoHono"0.0
                        }
                    ],
                    "tpMovimento""PROC",
                    "tpTecUtil"""
                }
            ],
            "tpAtend"0,
            "tpConsulta"1,
            "tpInter"0,
            "tpRegimInter"0,
            "ufConselhoProfSolic""RS",
            "urlChave""9999/9999/3001/API/2/0",

        }
                "insumos": [
                {
                    "idRegistro": 1,
                    "idRegistroDoc": "120/120/2/cha/4/0",
                    "prestadores": [
                        {
                            "idRegistroMovto": 1,
                            "nrProcesso": 15,
                            "nrSeqDigitacao": 15
                        }
                    ],
                    "tpMovimento": "INSU"
                }
            ],
            "nrDocOriginal": 4,
            "nrDocSistema": 0,
            "nrSerieDocOriginal": "cha",
            "urlChave": "120/120/2/cha/4/0"
        }
    ],
    "parametros": [
              {
                  "nomeUsuario": "super"
              }
        ]
}

c. addMovementManualRestriction
Âncora
addMovementManualRestriction
addMovementManualRestriction

...