{"version":3,"sources":["images/printer.svg","images/lock.svg","images/pdf.png","images/sun.svg","images/user.svg","components/Footer/Footer.module.css","images/LogoAsl.svg","images/squares-four.svg","images/x.svg","images/arrow-u-down-left.svg","images/Search.svg","images/caret-left.svg","images/caret-right.svg","components/License/License.module.css","images/tzion.png","AppTopbar.js","AppMenu.js","components/Periodo/DateInput.js","service/Api.js","service/Modalidade.js","components/Modalidade/Lookup.js","components/Filtro/PedidoFiltro.js","service/Login.js","service/PedidoPortal.js","service/Medico.js","screens/Imagens/GaleriaImagens.js","service/HistoricoAceiteLGPD.js","service/ServiceJob.js","layout/Form.js","AppInlineProfile.js","actions/actionTypes.js","actions/index.js","screens/LGPD/Form.js","components/License/License.jsx","components/Footer/Footer.jsx","components/Login/Form.js","service/Message.js","components/App/Splash.js","service/Config.js","screens/Login/Form.js","screens/LoginMedicoSolicitante/Form.js","screens/LoginPaciente/Form.js","screens/LoginConvenio/Form.js","screens/Logout/Form.js","components/GaleriaJob/Images.jsx","components/GaleriaJob/index.jsx","components/GaleriaJob/Root.jsx","components/GaleriaJob/Header.jsx","components/GaleriaJob/Main.jsx","components/GaleriaJob/Jobs.jsx","components/GaleriaJob/NoImage.jsx","components/GaleriaJob/Galeria.jsx","App.js","registerServiceWorker.js","ScrollToTop.js","reducers/login.js","reducers/token.js","reducers/index.js","store/index.js","index.js","components/GaleriaJob/styles.module.css"],"names":["module","exports","AppTopbar","Component","render","isAcessoCompartilhado","JSON","parse","sessionStorage","getItem","TokenPortal","React","createElement","id","className","onClick","this","props","onToggleMenu","style","color","visibility","window","location","defaultProps","connect","AppSubmenu","constructor","super","state","activeIndex","onMenuItemClick","event","item","index","disabled","preventDefault","command","originalEvent","items","url","setState","map","i","active","styleClass","classNames","badgeStyleClass","badge","submenuIcon","key","root","href","e","target","icon","label","AppMenu","model","ComponentsPeriodoDateInput","value","handleChange","bind","componentWillReceiveProps","callOnChange","data","ano","getFullYear","mes","getMonth","dia","getDate","onChange","Calendar","inputId","locale","firstDayOfWeek","dayNames","dayNamesShort","dayNamesMin","monthNames","monthNamesShort","dateFormat","showOnFocus","showIcon","readOnlyInput","placeholder","mask","ServiceApi","axios","get","then","res","servico","length","cnpjCliente","address","body","_getUrl","post","concat","_getHeaders","response","auth","IdMedico","headers","user","Login","Cnonce","Token","md5","isPacientePortal","isConvenioPortal","IdConvenio","Md5","Id","ServiceModalidade","getAll","ComponentsModalidadeLookup","values","list","service","limparModalidade","componentWillMount","getStateStyle","result","width","required","MultiSelect","padding","optionLabel","options","onkeyup","ComponentsPedidoFiltroForm","handleKeyPress","handleClearDate","tagName","onExecute","modalidadeComponente","createRef","paciente","prontuario","acNumber","modalidades","dataInicial","dataFinal","dataAtual","sortKeyClear","ordenarSelected","mobilecheck","a","check","navigator","userAgent","vendor","opera","test","substr","componentDidMount","filtroLimpar","document","addEventListener","Date","_encodeDate","current","getElementById","focus","blur","setTimeout","handleBuscarClick","handleLimparClick","onSortChange","handleModalidade","handleDataInicial","handleDataFinal","moment","toDate","error","sortOptions","dataViewLayoutOptions","DataViewLayoutOptions","layout","onChangeDataViewLayoutOptions","filtroForm","InputText","ref","Dropdown","sortKey","Button","marginTop","ServiceLogin","_getMD5","usuario","senha","nonce","login","toLowerCase","name","cnonce","_getNonce","Irrestrito","TipoMedico","alert","assign","setItem","stringify","loginSolicitante","solicitanteId","loginPaciente","codigoAcesso","reenviarCodigo","md52","undefined","AutenticacaoDoisFatores","msgEmailNaoCadastrado","loginConvenio","convenio","acessoToken","token","lembrarSenha","tipo","validaLicenca","catch","console","log","role","urlRedir","replace","removeItem","MedicoExecutanteFixo","Unidades","Nome","Sexo","isMedico","acoes","Acoes","find","obj","Atributo","Math","random","getUTCMilliseconds","toString","PedidoPortalService","listarPortalExamesPaged","FiltroDTO","loadProgressBar","MedicoSolicitanteFiltro","MedicoExecutanteFiltro","getLaudo","acessoDTO","obterUltimosLaudosComStudyUid","ultimoLaudoFiltro","MedicoService","PostAdicionarParecer","parecerDTO","GetParecerMedico","pedidoId","listaImgThumb","_listaImagens","xhr","GaleriaImagens","atualizarWidthHeigth","_autoHeigth","innerHeight","_autoWidth","innerWidth","funcaoArrastarSoltarImagem","onItemChangeThumb","splash","listaSeries","intances","listaImagensThumb","listaImagens","selectImageView","visible","autoHeigth","valueInputThumb","brilhoImageValue","totalImagens","impressaoImagens","servicoDeImagem","abortaRequisicao","serviceImages","compare","iconPanel","iconTitle","ultimaImagemArrastada","thumbnailTemplate","responsiveOptions","breakpoint","numVisible","_listaImagensThumb","touchPos","borderDragOverMob","ativar","el","getElementsByClassName","classList","add","remove","targetTouches","clientX","passive","click","borderDragOverWeb","clientY","ex","thumbMouseMove","slider","querySelector","startX","scrollLeft","isDown","pageX","offsetLeft","walk","StartX","EndX","StartY","EndY","nextImageTouch","prevImageTouch","checkServicoDeImagem","servicoImagem","split","display","overflow","_activeIndex","componentWillUnmount","componentDidUpdate","init","selectedPedido","_compare","btoa","Series","listarSeries","selecionaPrimeiraImagem","downloadDicomFilesCompleted","studyUid","seriesAslDicom","tm","setInterval","async","adicionaImagensAListaAslDicom","clearInterval","checarImagensS3","instanceImage","forEach","push","Serie","serie","Instances","instances","order","urlImage","StudyUid","loadFileSerie","listaImgThumbOrdenada","sort","b","listarSeriesServicoAsl","getValuesServiceSerie","listarSeriesServicoOrthanc","getImages","adicionaImagensALista","responseType","_blob","Blob","type","URL","createObjectURL","loadFileGaleria","instance","existSerie","Instance","listarImagensPorSerie","objInstance","listaImgOrdenada","calcBrilhoImagem","itemTemplate","image","src","height","filter","textAlign","position","left","bottom","fontSize","onItemChange","renderFooter","srcImg","marginRight","top","onKeyPress","marginLeft","marginBottom","gridTemplateColumns","columnGap","Slider","with","step","max","adicionaImagemAoLayout","Index","Pdf","addImage","X","Y","imprimirImagens","XMLHttpRequest","imagensDTO","Layout","Modalidade","LayoutPortal","img","Order","pedidoImagem","PedidoId","Imagens","mobileCheck","caminho","open","setRequestHeader","onload","status","file","File","uuidv4","exportUrl","fileLink","download","blob","pdfUrl","print","jsonData","send","adicionarHistoricoAcoes","acaoBtnCancelar","abort","onHideGaleria","footer","alignItems","background","zIndex","opacity","ProgressSpinner","title","Unidade","ImprimirImagemPortal","right","border","borderRadius","paddingTop","borderRight","borderTop","borderBottom","paddingLeft","cursor","draggable","Galleria","showItemNavigators","showThumbnails","flexDirection","justifyContent","gap","sun","orientation","HistoricoAceiteLGPD","PostHistoricoAceiteLGPD","ip","local","resp","geolocation","getCurrentPosition","coords","latitude","longitude","cnt","HistoricoLGPD","format","AcessoDTO","DadosAcesso","localStorage","reload","ChecarAceiteLGPD","clear","createInstance","params","config","loadConfig","create","baseURL","servicoPrinter","listarJob","AcNumber","endpoint","BuscarImagensLista","jobId","cntPgr","pgrBarCont","pedidoFiltro","Prontuario","PacienteId","PacienteNome","DataInicial","DataFinal","Modalidades","PageIndex","PageCount","Revisado","Sort","ConvenioId","listPrazo","autoHeigthLista","getAttrs","object","doc","innerHTML","getElementsByTagName","slice","call","attributes","reduce","attrs","element","createReactClass","require","displayName","iframe","ComponentEmbed","Object","embed","ScreensHomeForm","alterarLayout","perfil","innerText","head","link","rel","appendChild","setDialogContentSize","pDialogContent","clientHeight","botaoVisualizarImagemVinculada","rowData","abreImagemDoPedidoSelecionado","_viewer","VisualizadorPortal","StudyId","embedRemove","pedido","ModalidadeNome","Procedimento","ProcedimentoNome","MedicoExecutante","pedidoComImagemVinculadaMedicoExecutante","MedicoRevisor","pedidoComImagemVinculadaMedicoRevisor","pedidoComImagemVinculadaId","handleAbrirImagem","tipoCompartilhamento","pedidos","sortOrder","first","rows","Total","panelImageVisible","panelImageJpegVisible","panelVisible","panelLaudoVisible","panelAnexoVisible","imagensVinculadas","caminhoServico","servicoImagemPortal","popupImagem","isExecutante","emailCompartilhar","celCompartilhar","prazoValue","pacienteId","visibleDialog","componentImagens","visibleDialogComentario","isMobile","isFullScreen","modalConfirmaImpressao","modalImagemOutroPedido","modalAnexo","listaAnexos","Viewer","onPositionScroll","possuiJob","listaParecer","parecerId","parecerTexto","parecerDataCadastro","parecerPrioridade","UsuarioId","selectedCompartilhamento","pedidoservice","onPageChange","pedidoSelecionado","isConvenio","getUserId","UsuarioNome","getUserName","panelImageMaximizeOn","getConvenioId","getMedicoSolicitanteId","getUnidadesMedicoExecutante","PedidosPortal","Count","viewFullScreen","panel","elContent","setAttribute","firstElementChild","removeAttribute","closeModalFullScreen","page","panelImageJpegMaximize","isFull","retDataFormatada","retLegendaPrioridade","prioridade","openDialogParecer","limparFormParecer","_pedidoId","_listaParecer","Comentarios","dados","DataCadastro","Prioridade","Texto","handleSalvarParecer","ParecerMedico","sucessoSalvarParecer","AdicionarHistoricoAcoes","openModalCompartilhar","Paciente","acessoSiteAsl","RetPerfil","operacao","usuarioId","IsNullOrEmpty","DesabilitarBtnLaudo","getNaoPodeVisualizarPedidoSemServico","PossuiServico","ImprimirLaudoImpressoPortal","DataImpresso","ImprimirLaudoEntreguePortal","DataEntregue","ContemAnexoDiagnostico","DataRevisado","DataLaudado","DesabilitarBtnLaudoSemServico","DesabilitarBtnImagemSemServico","getNaoPodeVisualizarImagemPedidoSemServico","DesabilitarBtnAnexo","Anexos","visualizarListaAnexos","_listaAnexos","anexo","DesabilitarBtnImagem","StatusImagem","renderListItem","dataEstudo","btnLaudoDisabled","btnImageDisable","btnAnexoDisabled","msgLaudo","btnLaudoDisabledSemServico","btnImagemDisabledSemServico","titleBtnLaudoDisabledSemServico","titleBtnImageDisabledSemServico","DataEstudo","msgLaudoNaoLiberado","NOMEBOTAO","rowGap","flexWrap","tooltipOptions","tooltip","iconPos","handleAbrirLaudo","handleImprimirLaudo","NomeBotaoImprimirPortal","handleAbrirGaleriaDeImagens","handleBaixarImagem","CompartilharPortal","getNaoPodeVisualizarComentarios","Abreviacao","Veterinaria","Tutor","Raca","Especie","MedicoSolicitante","Panel","header","float","btnImageDisabledSemServico","fontWeight","msgAlert","renderGridItem","urlImagens","ServicoImagemPortal","search","so","platform","tk","dominioCliente","retDominio","viewPgrContinuous","updateProgress","transferComplete","transferFailed","PacienteNascimento","PacienteSexo","ModalidadeId","UltimosLaudos","parametro","indexOf","append","onScrollIntoView","confirmaImprimirLaudo","anexoDiagnostico","IdExterno","_anexoDiagnostico","Headers","requestOptions","method","fetch","scrollIntoView","_scrollTop","scrollingElement","scrollTop","toFixed","scroll","history","pathname","handleCompartilharLinkPortal","urlAcesso","origin","cel","email","prazo","encodeURIComponent","linkWhatsapp","renderPedidoDialogContent","onExecuteFiltro","filtro","positionScroll","topPos","offsetTop","renderHeaderTopInfo","renderHeaderLista","renderHeaderAnexoDiagnostico","renderPainelAnexoDiagnostico","onHide","autoFocus","renderFooterCancelar","dataEstudoImagemVinculada","formattedDate","toLocaleString","year","month","day","hour","minute","second","Fragment","idLaudoImagemVinculada","procedimentoImagemVinculada","modalidadeImagemVinculada","renderFooterAnexo","nomeArquivoAnexoMob","TipoAnexo","nomeArquivoAnexo","statusTipoAnexo","_tipoAnexo","visualizarAnexo","downloadAnexo","downloadUrl","postData","FormData","fileName","tempEl","revokeObjectURL","btnAnexoAcoes","btnAnexoAcoesMob","gridTemplateRows","headerLista","Dialog","DataTable","Column","field","headerStyle","DataView","paginatorPosition","paginator","sortField","Paginator","totalRecords","rowsPerPageOptions","modal","Sidebar","blockScroll","fullScreen","backgroundColor","showCloseIcon","handleFecharImagemJpg","acao","boxShadow","RadioButton","checked","htmlFor","InputMask","borderColor","InputTextarea","autoResize","oEvent","lengthComputable","percentComplete","loaded","total","evt","viewPgr","AppInlineProfile","expanded","getUserSex","alt","actionsLogin","ScreensLGPDForm","cancelarLGPD","aceitarLGPD","objLGPD","Usuario","Exibir","closable","License","_ref","serviceLogin","loading","setLoading","useState","aviso","setAviso","msg","useEffect","Familia","Produto","objRes","Success","Descricao","verficaLicence","styles","license","titulo","paragrafoTxt","paragrafoDtLicence","msgError","paragrafoError","progressBar","Footer","logo","ComponentsLoginForm","handleLoginClick","codigo","eventLembrarSenha","eventEnviarCodigo","naoRecebiMeuCodigo","ocultarLinkReenviarCodigo","dadosQRCode","handleLembrarSenha","hash","retLembrarSenha","showSuccess","showError","handleReenviarCodigo","clearTimeout","handleNaoRecebiMeuCodigo","onExecuteNaoRecebiCodigo","toast","show","severity","summary","detail","life","boxLoginSenha","isLicense","backgroundImage","IcoUser","backgroundSize","backgroundRepeat","backgroundPositionY","backgroundPositionX","Password","IcoLock","feedback","strokeWidth","fill","animationDuration","btnReenviarCodigo","boxCodigoAcesso","emailCadastro","boxAlertEmailNaoCadastrado","dangerouslySetInnerHTML","__html","atob","backgroundPosition","Toast","margin","autenticacaoDoisFatores","ServiceMessage","_el","ComponentsAppSplash","showHeader","contentStyle","ServiceConfig","Axios","ScreensLoginForm","Perfil","aceiteLGPD","historicoAceiteLGPD","getDadosUsuario","getConfig","serviceConfig","GetConfig","objConfig","Key","Value","err","warn","finally","handleExecute","Messages","messages","exibirTipo","store","stateLogin","dispatch","bindActionCreators","ScreensLoginMedicoSolicitanteForm","globalVars","acessoMedicoSolicitante","NomeUsuario","acesso_qrcode","_getCnpj","ScreensLoginPacienteForm","dadosPaciente","acesso_token","handleExecuteToken","EmailCadastro","MsgEmailNaoCadastrado","CodigoAcesso","handleExecuteNaoRecebiCodigo","ScreensLoginConvenioForm","ScreensLogoutForm","logout","ButtonGaleria","_ref2","fn","Galeria","children","container","listJobs","isOpen","fnPrintAll","setIsLoading","setMsgLoading","printAll","intervalo","listIds","jobs","progress","GetProgressList","PrintAllJobs","nameFile","seriesMobile","Back","SeriesIcon","actions","Printer","back","close","main","setIsOpen","jobSelecionado","selecionarJob","jobContainerRef","useRef","printJobId","JobId","GetProgress","PrintJobId","jobElement","behavior","block","job","boxSelected","miniature","Minuature","_jobImageSelecionado$","_jobImageSelecionado$2","setImageSelecionada","imageSelecionada","jobImageSelecionado","refs","inline","_","selectedImage","prev","prevIndex","ImageBase64","FileName","next","imgContainer","imagesList","box","semJob","searchContainer","GaleriaJob","setListJobs","isLoading","setJobSelecionado","setJobImageSelecionado","msgLoading","promises","_miniature$","jobList","Promise","all","listarJobs","JobSelected","Loading","listaJobs","PrivateRoute","component","rest","Route","isLoggedIn","Redirect","to","from","App","layoutMode","layoutColorMode","staticMenuInactive","overlayMenuActive","mobileMenuActive","onWrapperClick","onSidebarClick","createMenu","menuClick","isDesktop","layoutMenuScroller","moveBar","menu","addClass","removeClass","RegExp","join","handleMessagesRef","register","wrapperClass","sidebarClassName","topbar","sideBar","sidebar","ScrollPanel","exact","path","islocalhost","Boolean","hostname","match","registerValidSW","swUrl","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","ScrollToTop","prevProps","scrollTo","withRouter","initialState","tokenPortal","Reducers","combineReducers","arguments","action","stateToken","Store","createStore","devToolsEnhancer","ReactDOM","Provider","HashRouter","process","ready","unregister","checkValidServiceWorker","registerServiceWorker"],"mappings":"yGAAAA,EAAOC,QAAU,IAA0B,qC,oBCA3CD,EAAOC,QAAU,IAA0B,kC,kBCA3CD,EAAOC,QAAU,89D,oBCAjBD,EAAOC,QAAU,IAA0B,iC,oBCA3CD,EAAOC,QAAU,IAA0B,kC,oBCC3CD,EAAOC,QAAU,CAAC,OAAS,yB,oBCD3BD,EAAOC,QAAU,IAA0B,qC,oBCA3CD,EAAOC,QAAU,IAA0B,0C,oBCA3CD,EAAOC,QAAU,IAA0B,+B,oBCA3CD,EAAOC,QAAU,IAA0B,+C,oBCA3CD,EAAOC,QAAU,IAA0B,oC,oBCA3CD,EAAOC,QAAU,IAA0B,wC,oBCA3CD,EAAOC,QAAU,IAA0B,yC,+ECC3CD,EAAOC,QAAU,CAAC,QAAU,yBAAyB,cAAgB,+BAA+B,OAAS,wBAAwB,YAAc,6BAA6B,aAAe,8BAA8B,mBAAqB,oCAAoC,eAAiB,gCAAgC,SAAW,4B,oBCDlVD,EAAOC,QAAU,IAA0B,mC,sMCI3C,MAAMC,UAAkBC,YAUpBC,SAEI,MACMC,IADOC,KAAKC,MAAMC,eAAeC,QAAQ,SACZC,YAEnC,OACIC,IAAAC,cAAA,WACID,IAAAC,cAAA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,SNEf,WACb,GAA6C,kBAAmBb,UAAW,CAGzE,GADkB,IAAI0N,IAAI6tB,IAAwBzjC,OAAOC,UAC3CgtB,SAAWjtB,OAAOC,SAASgtB,OAIvC,OAGFjtB,OAAO2I,iBAAiB,OAAQ,KAC9B,MAAMq5B,EAAK,GAAAl9B,OAAM2+B,IAAsB,sBAEnC9B,KAiDV,SAAiCK,GAE/B1V,MAAM0V,GACH39B,KAAKW,IAGkB,MAApBA,EAASoU,SACuD,IAAhEpU,EAASG,QAAQf,IAAI,gBAAgBwnB,QAAQ,cAG7C1jB,UAAU+5B,cAAcyB,MAAMr/B,KAAK69B,IACjCA,EAAayB,aAAat/B,KAAK,KAC7BrE,OAAOC,SAAS8c,aAKpBglB,GAAgBC,KAGnBx1B,MAAM,KACLC,QAAQC,IACN,mEArEAk3B,CAAwB5B,GAIxB95B,UAAU+5B,cAAcyB,MAAMr/B,KAAK,KACjCoI,QAAQC,IACN,+GAMJq1B,GAAgBC,MM5BxB6B,I,mBCnBAnlC,EAAOC,QAAU,CAAC,KAAO,qBAAqB,WAAa,2BAA2B,UAAY,0BAA0B,OAAS,uBAAuB,QAAU,wBAAwB,aAAe,6BAA6B,MAAQ,sBAAsB,MAAQ,sBAAsB,KAAO,qBAAqB,mBAAmB,iCAAiC,MAAQ,sBAAsB,cAAgB,8BAA8B,UAAY,0BAA0B,IAAM,oBAAoB,UAAY,0BAA0B,aAAe,6BAA6B,YAAc,4BAA4B,QAAU,wBAAwB,OAAS,uBAAuB,gBAAkB,gCAAgC,KAAO,wB","file":"static/js/main.6d59e645.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/printer.05ae9d3e.svg\";","module.exports = __webpack_public_path__ + \"static/media/lock.ff8e3516.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAVoSURB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AAPF/gvYbBdFHRcGgJiilAnIydlzDPTm7RHYGykANzZrhMVq18qngzyXAP+LHRXLMaZsILaVTGzMT3Qc0qM9dCW2IfbjgzKQF+EZ8osDCORmjiu6bVq+CrWgPrr69WggIZxdKRAVU0v2GN99Ad+nhQLZoScLZhRJRAVqlHNUxMbjT0ICGVbmiZsLahRBZAQS/+QYfjsC89n2RkXA2oURcQAXZ/F1RgfqcFaImwtmEElkB9EPDa9/vuAuH0TQpwREvQsvGTTDnrccdvR6Nq995Zh1EVAD/THsG3CILLGbIPYga2kfwdRbCy8N96NJETAAHNOdvQNtnO4QADqpLnYuHNPbWqROwlx5FV3EJ7EeOwfbNt0IMj2MBh6ctQKUSQd29d9GwbBlsu3ajU7MPbTt3Qp+ZCct769Bns6Lr6EHU0Wamce27qE5MEDUjBCimKEBHez2eOc/2+o4dsO3dA8NLGSLNfJ3hdI+l/3JaGv7YVghLQYG4xz6mtQTs1EiFZlyzBq7bt0UWqujVGmoTShXtLcZEjV2bsgB2Ys4vQMuWzbh77RoMC9In9dyHUkU/1Tp6gZXSUjyfABrAaXXYbqLrUAmldZs4Hx/gWbCAahYw1QyYVr1FL58VUwrOTEuAcEDnIu206Qi9PlmmLWC6PBYwqRrwecXjpqc9YcSgJ6aGfPImtqs/8H0QVgBvvUfpr4j29Z+nZ+DLlzP/nQWZ+Cpjcny9IAPb56XBHvxeDC8g+O008h/An3hMoAH/AA2fQoXoiHJ0AAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/sun.626d64aa.svg\";","module.exports = __webpack_public_path__ + \"static/media/user.06526f60.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"Footer_footer__1_4g2\"};","module.exports = __webpack_public_path__ + \"static/media/LogoAsl.a5e7a704.svg\";","module.exports = __webpack_public_path__ + \"static/media/squares-four.b384bb6e.svg\";","module.exports = __webpack_public_path__ + \"static/media/x.3dfd8efa.svg\";","module.exports = __webpack_public_path__ + \"static/media/arrow-u-down-left.051fb450.svg\";","module.exports = __webpack_public_path__ + \"static/media/Search.aa51cd25.svg\";","module.exports = __webpack_public_path__ + \"static/media/caret-left.6f791327.svg\";","module.exports = __webpack_public_path__ + \"static/media/caret-right.29a63cd9.svg\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"license\":\"License_license__2RsAa\",\"validaLicenca\":\"License_validaLicenca__3b4Uf\",\"titulo\":\"License_titulo__12Ce2\",\"progressBar\":\"License_progressBar__2TlhF\",\"paragrafoTxt\":\"License_paragrafoTxt__3M-_P\",\"paragrafoDtLicence\":\"License_paragrafoDtLicence__570oS\",\"paragrafoError\":\"License_paragrafoError__3gKzW\",\"msgError\":\"License_msgError__2kHXB\"};","module.exports = __webpack_public_path__ + \"static/media/tzion.d2dfc1f5.png\";","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\n\r\nclass AppTopbar extends Component {\r\n\r\n static defaultProps = {\r\n onToggleMenu: null\r\n }\r\n\r\n static propTypes = {\r\n onToggleMenu: PropTypes.func.isRequired\r\n }\r\n\r\n render() {\r\n\r\n const auth = JSON.parse(sessionStorage.getItem('auth'));\r\n const isAcessoCompartilhado = auth.TokenPortal ? true : false;\r\n\r\n return (\r\n
\r\n
%
\r\n
\r\n
\r\n
\r\n
\r\n {!isAcessoCompartilhado && (\r\n \r\n )}\r\n
\r\n\r\n
\r\n
Tzion MyResult
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\n\r\nexport default connect()(AppTopbar);","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nclass AppSubmenu extends Component {\r\n\r\n static defaultProps = {\r\n className: null,\r\n items: null,\r\n onMenuItemClick: null,\r\n root: false\r\n }\r\n\r\n static propTypes = {\r\n className: PropTypes.string,\r\n items: PropTypes.array,\r\n onMenuItemClick: PropTypes.func,\r\n root: PropTypes.bool\r\n }\r\n \r\n constructor(props) {\r\n super(props);\r\n this.state = {activeIndex: null};\r\n }\r\n \r\n onMenuItemClick(event, item, index) {\r\n //avoid processing disabled items\r\n if(item.disabled) {\r\n event.preventDefault();\r\n return true;\r\n }\r\n \r\n //execute command\r\n if(item.command) {\r\n item.command({originalEvent: event, item: item});\r\n }\r\n\r\n //prevent hash change\r\n if(item.items || !item.url) {\r\n event.preventDefault();\r\n }\r\n\r\n if(index === this.state.activeIndex)\r\n this.setState({activeIndex: null}); \r\n else\r\n this.setState({activeIndex: index});\r\n\r\n if(this.props.onMenuItemClick) {\r\n this.props.onMenuItemClick({\r\n originalEvent: event,\r\n item: item\r\n });\r\n }\r\n } \r\n \r\n render() {\r\n let items = this.props.items && this.props.items.map((item, i) => {\r\n let active = this.state.activeIndex === i;\r\n let styleClass = classNames(item.badgeStyleClass, {'active-menuitem': active});\r\n let badge = item.badge && {item.badge};\r\n let submenuIcon = item.items && ;\r\n\r\n return (\r\n
  • \r\n {item.items && this.props.root===true &&
    }\r\n this.onMenuItemClick(e, item, i)} target={item.target}>\r\n \r\n {item.label}\r\n {submenuIcon}\r\n {badge}\r\n \r\n \r\n
  • \r\n );\r\n });\r\n \r\n return items ? : null;\r\n }\r\n}\r\n\r\nexport class AppMenu extends Component {\r\n\r\n static defaultProps = {\r\n model: null,\r\n onMenuItemClick: null\r\n }\r\n\r\n static propTypes = {\r\n model: PropTypes.array,\r\n onMenuItemClick: PropTypes.func\r\n }\r\n\r\n render() {\r\n return
    \r\n }\r\n}","import React, {Component} from 'react';\r\nimport {Calendar} from 'primereact/calendar';\r\nimport PropTypes from 'prop-types';\r\nimport InputMask from 'react-input-mask'\r\n\r\n\r\nexport class ComponentsPeriodoDateInput extends Component {\r\n\r\n static defaultProps = { \r\n onChange: null\r\n }\r\n\r\n static propTypes = {\r\n onChange: PropTypes.func\r\n }\r\n\r\n constructor(){\r\n super();\r\n\r\n this.state = {\r\n value : null\r\n };\r\n\r\n this.handleChange = this.handleChange.bind(this);\r\n }\r\n\r\n componentWillReceiveProps(props) {\r\n this.setState({ value: props.value });\r\n }\r\n \r\n handleChange(event){\r\n this.setState({value: event.value}, this.callOnChange(event.value)); \r\n this.state.value = event.value; \r\n }\r\n\r\n callOnChange(data){ \r\n try\r\n {\r\n let event = {};\r\n event.ano = data.getFullYear();\r\n event.mes = data.getMonth() + 1;\r\n event.dia = data.getDate();\r\n this.props.onChange(event);\r\n }\r\n catch{} \r\n /*/\r\n try\r\n { \r\n if (this.props.onChange == null)\r\n return;\r\n\r\n if (this.state.value == null)\r\n return;\r\n\r\n let event = data;\r\n event.ano = this.state.value.getFullYear();\r\n event.mes = this.state.value.getMonth() + 1;\r\n event.dia = this.state.value.getDate();\r\n\r\n this.props.onChange(event);\r\n\r\n console.log(event);\r\n\r\n } \r\n catch(error){\r\n\r\n console.log(error); \r\n } \r\n /*/\r\n } \r\n\r\n \r\n \r\n\r\n render(){\r\n\r\n const locale = {\r\n firstDayOfWeek: 1,\r\n dayNames: [\"domingo\", \"segunda\", \"terça\", \"quarta\", \"quinta\", \"sexta\", \"sábado\"],\r\n dayNamesShort: [\"dom\", \"seg\", \"ter\", \"qua\", \"qui\", \"sex\", \"sáb\"],\r\n dayNamesMin: [\"dom\", \"seg\", \"ter\", \"qua\", \"qui\", \"sex\", \"sáb\"],\r\n monthNames: [\"janeiro\", \"fevereiro\", \"março\", \"abril\", \"maio\", \"junho\", \"julho\", \"agosto\", \"setembro\", \"outubro\", \"novembro\", \"dezembro\"],\r\n monthNamesShort: [\"jan\", \"fev\", \"mar\", \"abr\", \"mai\", \"jun\", \"jul\", \"ago\", \"set\", \"out\", \"nov\", \"dec\"]\r\n };\r\n \r\n const dateFormat = 'dd/mm/yy';\r\n\r\n return (\r\n\r\n \r\n );\r\n\r\n\r\n }\r\n}","import axios from 'axios';\r\nimport md5 from \"md5\";\r\n\r\nexport class ServiceApi {\r\n\r\n static _getUrl() {\r\n return axios.get('config.json')\r\n .then(res => res.data.servico)\r\n .then(url => {\r\n if (url[url.length - 1] === \"/\")\r\n return url;\r\n return url + \"/\";\r\n });\r\n }\r\n\r\n static _getCnpj() {\r\n return axios.get('config.json')\r\n .then(res => {\r\n return res.data.cnpjCliente\r\n });\r\n }\r\n\r\n static post(address, body) {\r\n return this._getUrl()\r\n .then(root => axios.post(`${root}${address}`, body, this._getHeaders()))\r\n .then(res => res.data);\r\n }\r\n\r\n static get(url) {\r\n return axios.get(url, this._getHeaders())\r\n .then(function (response) {\r\n return response.data;\r\n });\r\n }\r\n\r\n\r\n static getImages(url) {\r\n return axios.get(url, this._getHeaders())\r\n .then(function (response) {\r\n return response.data;\r\n //console.log(response.data); // ex.: { user: 'Your User'}\r\n //console.log(response.status); // ex.: 200\r\n });\r\n }\r\n\r\n static _getHeaders() {\r\n const auth = JSON.parse(`${sessionStorage.getItem(\"auth\")}`);\r\n if (auth) {\r\n if (auth.IdMedico != 0) {\r\n return {\r\n headers: {\r\n user: auth.Login,\r\n Cnonce: auth.Cnonce,\r\n Token: md5(auth.Login + auth.Cnonce + auth.Token),\r\n TokenPortal: \"\",\r\n isPacientePortal: \"false\",\r\n isConvenioPortal: \"false\",\r\n },\r\n };\r\n }\r\n else if (auth.IdConvenio != 0) {\r\n return {\r\n headers: {\r\n user: auth.Login,\r\n Cnonce: auth.Cnonce === null ? \"\" : auth.Cnonce,\r\n Token: auth.Md5 === null ? \"\" : auth.Md5,\r\n TokenPortal: \"\",\r\n isPacientePortal: \"false\",\r\n isConvenioPortal: \"true\",\r\n },\r\n };\r\n }\r\n else {\r\n return {\r\n headers: {\r\n user: auth.Id,\r\n Cnonce: auth.Cnonce === null ? \"\" : auth.Cnonce,\r\n Token: auth.Md5 === null ? \"\" : auth.Md5,\r\n TokenPortal: auth.TokenPortal == null ? \"\" : auth.TokenPortal,\r\n isPacientePortal: \"true\",\r\n isConvenioPortal: \"false\",\r\n },\r\n };\r\n }\r\n } else return undefined;\r\n }\r\n}","import { ServiceApi } from \"./Api\";\r\nexport class ServiceModalidade {\r\n \r\n getAll() {\r\n \r\n return ServiceApi.post(\"api/agenda/GetModalidades\", {});\r\n }\r\n}","import React, {Component} from 'react';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport {MultiSelect} from 'primereact/multiselect';\r\nimport { AutoComplete } from 'primereact/autocomplete';\r\nimport { ServiceModalidade } from \"../../service/Modalidade\";\r\nimport PropTypes from 'prop-types';\r\n\r\nexport class ComponentsModalidadeLookup extends Component{\r\n\r\n\r\n\r\n \r\n static defaultProps = {\r\n onChange: null,\r\n onkeyup:null\r\n }\r\n\r\n static propTypes = {\r\n onChange: PropTypes.func\r\n } \r\n\r\n constructor(){\r\n\r\n super();\r\n\r\n this.state = {\r\n\r\n values: null,\r\n list: []\r\n };\r\n\r\n this.service = new ServiceModalidade();\r\n }\r\n\r\n limparModalidade() {\r\n this.setState({ \r\n values: []\r\n });\r\n }\r\n \r\n\r\n componentWillMount(){\r\n\r\n // this.setState({values: this.props.values});\r\n\r\n this.service.getAll()\r\n .then(data => this.setState({ list: data })); \r\n }\r\n\r\n\r\n handleChange(event){\r\n this.setState({ \r\n values: event.value, \r\n }, this.callOnChange);\r\n }\r\n\r\n callOnChange(){\r\n\r\n if (this.props.onChange == null)\r\n return;\r\n\r\n this.props.onChange(this.state.values);\r\n }\r\n\r\n getStateStyle(){\r\n\r\n let result = {width : '100%'};\r\n \r\n if (this.state.value){\r\n result[\"border\"] = '1px solid #006600';\r\n } else if (this.props.required){\r\n result[\"border\"] = '1px solid #cc0000';\r\n }\r\n \r\n return result;\r\n }\r\n\r\n render(){\r\n return (\r\n // \r\n \r\n );\r\n }\r\n}","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Button } from 'primereact/button';\r\nimport { Dropdown } from 'primereact/dropdown';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { ComponentsPeriodoDateInput } from \"../Periodo/DateInput\";\r\nimport { ComponentsModalidadeLookup } from \"../Modalidade/Lookup\";\r\nimport moment from \"moment/min/moment-with-locales\";\r\nimport { DataViewLayoutOptions } from \"primereact/dataview\";\r\n\r\nexport class ComponentsPedidoFiltroForm extends Component {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.modalidadeComponente = React.createRef();\r\n\r\n this.state = {\r\n paciente: \"\",\r\n prontuario: \"\",\r\n acNumber: \"\",\r\n modalidades: [],\r\n dataInicial: \"\",\r\n dataFinal: \"\",\r\n dataAtual: \"\",\r\n sortKeyClear: false,\r\n ordenarSelected: \"\"\r\n };\r\n }\r\n\r\n static defaultProps = {\r\n onExecute: null\r\n }\r\n\r\n static propTypes = {\r\n onExecute: PropTypes.func\r\n }\r\n\r\n mobilecheck() {\r\n var check = false;\r\n (function (a) {\r\n if (\r\n /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(\r\n a\r\n ) ||\r\n /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(\r\n a.substr(0, 4)\r\n )\r\n )\r\n check = true;\r\n })(navigator.userAgent || navigator.vendor || window.opera);\r\n return check;\r\n }\r\n\r\n componentDidMount() {\r\n this.filtroLimpar();\r\n document.addEventListener(\"keydown\", this.handleKeyPress.bind(this));\r\n }\r\n\r\n filtroLimpar() {\r\n let ano = new Date().getFullYear();\r\n let mes = new Date().getMonth() + 1;\r\n let dia = new Date().getDate();\r\n const dataAtual = this._encodeDate(ano, mes, dia);\r\n this.setState({\r\n dataInicial: dataAtual,\r\n dataFinal: dataAtual,\r\n paciente: '',\r\n modalidades: [],\r\n prontuario: '',\r\n acNumber: ''\r\n });\r\n this.modalidadeComponente.current.limparModalidade();\r\n\r\n document.getElementById(\"dataInicial\").focus();\r\n document.getElementById(\"dataFinal\").focus();\r\n document.getElementById(\"dataFinal\").blur();\r\n\r\n setTimeout(() => { this.handleBuscarClick(); }, 500);\r\n }\r\n\r\n handleClearDate() {\r\n if (this.state.prontuario || this.state.acNumber) {\r\n this.setState({\r\n dataInicial: null,\r\n dataFinal: null\r\n });\r\n }\r\n }\r\n\r\n handleBuscarClick() {\r\n this.handleClearDate();\r\n\r\n if (this.props.onExecute == null) {\r\n return;\r\n }\r\n\r\n setTimeout(() => {\r\n this.props.onExecute(this.state);\r\n }, 50);\r\n }\r\n\r\n handleLimparClick() {\r\n this.filtroLimpar();\r\n this.props.onSortChange(\"clear\");\r\n }\r\n\r\n handleKeyPress = (event) => {\r\n this.handleClearDate();\r\n if (event.key == 'Enter') {\r\n\r\n if (event.target.tagName === \"INPUT\") {\r\n if (this.props.onExecute == null) {\r\n return;\r\n }\r\n this.props.onExecute(this.state);\r\n }\r\n }\r\n }\r\n\r\n handleModalidade(event) {\r\n this.setState({ modalidades: event });\r\n }\r\n\r\n handleDataInicial(event) {\r\n let data = this._encodeDate(event.ano, event.mes, event.dia);\r\n this.setState({ dataInicial: data });\r\n }\r\n\r\n handleDataFinal(event) {\r\n let data = this._encodeDate(event.ano, event.mes, event.dia);\r\n this.setState({ dataFinal: data });\r\n }\r\n\r\n _encodeDate(ano, mes, dia) {\r\n try {\r\n return moment(ano + '-' + mes + '-' + dia, \"YYYY-MM-DD\").toDate();\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n\r\n render() {\r\n\r\n const sortOptions = [\r\n { label: \"Mais Novos\", value: \"DataEstudo Desc\" },\r\n { label: \"Mais Antigos\", value: \"DataEstudo Asc\" },\r\n { label: \"Procedimento\", value: \"Procedimento\" }\r\n ];\r\n\r\n const dataViewLayoutOptions = this.props.onChangeDataViewLayoutOptions(e.value)} />\r\n\r\n let filtroForm = !this.props.mobilecheck() ?
    \r\n\r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n { this.setState({ paciente: e.target.value }) }}\r\n placeholder=\"\"\r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n this.setState({ sortKeyClear: false }), this.handleBuscarClick.bind(this)}\r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n {dataViewLayoutOptions}\r\n
    \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n { this.setState({ prontuario: e.target.value }) }}\r\n placeholder=\"\"\r\n value={this.state.prontuario}\r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n { this.setState({ acNumber: e.target.value }) }}\r\n placeholder=\"\"\r\n value={this.state.acNumber}\r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    :
    \r\n\r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n { this.setState({ paciente: e.target.value }) }}\r\n placeholder=\"\"\r\n value={this.state.paciente}\r\n />\r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n\r\n
    ;\r\n\r\n return (\r\n\r\n
    \r\n\r\n {filtroForm}\r\n\r\n
    \r\n\r\n );\r\n\r\n }\r\n}","import { ServiceApi } from \"./Api\";\r\nimport md5 from \"md5\";\r\n\r\nwindow.TokenPortal = \"\";\r\n\r\ntry {\r\n const auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n if (window.TokenPortal === \"\" && auth) {\r\n window.TokenPortal = auth;\r\n }\r\n} catch (error) { }\r\n\r\nexport class ServiceLogin {\r\n\r\n login(usuario, senha) {\r\n senha = senha.toLowerCase();\r\n let name = usuario.toLowerCase();\r\n let cnonce = this._getNonce();\r\n let md5 = this._getMD5(name, senha, cnonce);\r\n let url = `Api/Login/PostLogin/?name=${name}&cnonce=${cnonce}&md5=${md5}&sistema=tzionMyResult`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n if (res.Irrestrito === false && res.TipoMedico === null) {\r\n alert('Usuário ou senha inválidos.');\r\n const url = window.location.href;\r\n return setTimeout(() => {\r\n window.location.assign(url);\r\n }, 500);\r\n }\r\n sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n return res;\r\n });\r\n }\r\n\r\n loginSolicitante(solicitanteId, senha, cnpjCliente) {\r\n let key = senha.toLowerCase();\r\n let cnonce = this._getNonce();\r\n let md5 = this._getMD5(solicitanteId + cnpjCliente, key, cnonce);\r\n let url = `Api/Login/PostLoginSolicitante/?solicitanteid=${solicitanteId}&cnonce=${cnonce}&md5=${md5}`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n return res;\r\n });\r\n }\r\n\r\n loginPaciente(usuario, senha, codigoAcesso, reenviarCodigo, cnpjCliente) {\r\n let prontuario = usuario.toLowerCase();\r\n let key = senha.toLowerCase();\r\n let cnonce = this._getNonce();\r\n let md5 = this._getMD5(prontuario + cnpjCliente, key, cnonce);\r\n let md52 = this._getMD5(prontuario, key, cnonce);\r\n codigoAcesso = codigoAcesso ? codigoAcesso : \"\";\r\n reenviarCodigo = reenviarCodigo !== undefined ? reenviarCodigo : false;\r\n let url = `Api/Login/PostLoginPaciente/?prontuario=${prontuario}&cnonce=${cnonce}&md5=${md5}&md52=${md52}&codigoAcesso=${codigoAcesso}&reenviarCodigo=${reenviarCodigo}`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n if (res.AutenticacaoDoisFatores === false)\r\n sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n return res;\r\n });\r\n }\r\n\r\n msgEmailNaoCadastrado() {\r\n let url = `Api/Login/PostMsgEmailNaoCadastrado`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n return res;\r\n });\r\n }\r\n\r\n loginConvenio(usuario, senha) {\r\n let convenio = usuario.toLowerCase();\r\n let key = senha.toLowerCase();\r\n let cnonce = this._getNonce();\r\n let md5 = this._getMD5(convenio, key, cnonce);\r\n let url = `Api/Login/PostLoginConvenio/?convenio=${convenio}&cnonce=${cnonce}&md5=${md5}`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n return res;\r\n });\r\n }\r\n\r\n acessoToken(token) {\r\n let url = `Api/Login/PostLoginToken/?token=${token}`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n res['TokenPortal'] = token;\r\n sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n return res;\r\n });\r\n }\r\n\r\n lembrarSenha(id, usuario, tipo) {\r\n let url = `Api/Login/PostLembrarSenhaPaciente/?usuario=${usuario}&tipo=${tipo}`;\r\n return ServiceApi.post(url)\r\n .then(res => {\r\n //sessionStorage.setItem(\"auth\", JSON.stringify(res));\r\n //return sucesso!!!\r\n return res;\r\n });\r\n }\r\n\r\n validaLicenca(body) {\r\n let url = `Api/Config/ValidaLicenca`;\r\n return ServiceApi.post(url, body)\r\n .then(res => {\r\n return res;\r\n })\r\n .catch(error => console.log(error))\r\n }\r\n\r\n static logout() {\r\n const perfil = sessionStorage.getItem('perfil');\r\n let role = \"\";\r\n\r\n switch (perfil) {\r\n case \"Convenio\":\r\n role = \"convenio\"\r\n break;\r\n case \"Executante\":\r\n role = \"medico\";\r\n break;\r\n case \"Solicitante\":\r\n role = \"medicosolicitante\"\r\n break;\r\n default:\r\n role = \"\";\r\n }\r\n\r\n const urlRedir = window.location.href.replace(\"logout\", role);\r\n sessionStorage.removeItem(\"auth\");\r\n sessionStorage.removeItem(\"perfil\");\r\n setTimeout(() => {\r\n window.location = urlRedir;\r\n }, 500);\r\n }\r\n\r\n static isLoggedIn() {\r\n return sessionStorage.getItem(\"auth\") !== null;\r\n }\r\n\r\n static isMedico() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.IdMedico != 0;\r\n } catch (error) { }\r\n return false;\r\n }\r\n\r\n static isConvenio() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.IdConvenio > 0;\r\n } catch (error) { }\r\n return false;\r\n }\r\n\r\n static isExecutante() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.MedicoExecutanteFixo || auth.TipoMedico === \"1\" || auth.TipoMedico === \"2\";\r\n } catch (error) {\r\n return false;\r\n }\r\n }\r\n\r\n static getUserId() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.Id;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getConvenioId() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.IdConvenio;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getMedicoSolicitanteId() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.IdMedico;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getUnidadesMedicoExecutante() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.Unidades\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getUserName() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.Nome;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getUserSex() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n return auth.Sexo;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n static getNaoPodeVisualizarPedidoSemServico() {\r\n // try {\r\n // let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n // if (auth.Irrestrito)\r\n // return false;\r\n // if (this.isExecutante() || this.isMedico() === false) {\r\n // const acoes = auth.Acoes;\r\n // const find = acoes.find(obj => obj.Atributo === 'laudarPedidoSemServico');\r\n // return find ? false : true;\r\n // }\r\n // return true;\r\n // } catch (error) {\r\n // return true;\r\n // }\r\n return false;\r\n // comentado pelo motivo de que a ação laudarPedidoSemServico não pertencia ao Portal My Result, somente ao RIS.\r\n }\r\n\r\n static getNaoPodeVisualizarImagemPedidoSemServico() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n if (auth.Irrestrito || this.isMedico() === false)\r\n return false;\r\n if (this.isMedico()) {\r\n const acoes = auth.Acoes;\r\n const find = acoes.find(obj => obj.Atributo === 'visualizarImagemPedidoSemServico');\r\n return find ? false : true;\r\n }\r\n return true;\r\n } catch (error) {\r\n return true;\r\n }\r\n }\r\n\r\n static getNaoPodeVisualizarComentarios() {\r\n try {\r\n let auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n if (auth.Irrestrito)\r\n return false;\r\n const acoes = auth.Acoes;\r\n const find = acoes.find(obj => obj.Atributo === 'visualizarComentario');\r\n return find ? false : true;\r\n } catch (error) {\r\n return null;\r\n }\r\n }\r\n\r\n _getNonce() {\r\n return (Math.random(new Date().getUTCMilliseconds())).toString().replace('.', '');\r\n };\r\n\r\n _getMD5 = function (usuario, senha, nonce) {\r\n return md5(usuario + nonce + senha);\r\n };\r\n\r\n}","import { ServiceApi } from \"./Api\";\r\nimport { loadProgressBar } from 'axios-progress-bar';\r\nimport moment from \"moment/min/moment-with-locales\";\r\nimport { ServiceLogin } from \"../service/Login\";\r\n\r\nexport class PedidoPortalService {\r\n\r\n listarPortalExamesPaged(FiltroDTO) {\r\n \r\n loadProgressBar();\r\n\r\n try{ \r\n\r\n const auth = JSON.parse(sessionStorage.getItem(\"auth\"));\r\n\r\n FiltroDTO.MedicoSolicitanteFiltro = auth.TipoMedico === \"0\" ? { Id: auth.IdMedico } : null;\r\n \r\n FiltroDTO.MedicoExecutanteFiltro = auth.TipoMedico === \"1\" || auth.TipoMedico === \"2\" ? { Id: auth.IdMedico } : null; \r\n\r\n FiltroDTO.TokenPortal = auth.TokenPortal === undefined ? '' : auth.TokenPortal;\r\n\r\n return ServiceApi.post(\"api/Portal/PostListarPortalExamesPaged\", FiltroDTO);\r\n\r\n }catch(error){\r\n console.log(error);\r\n return null;\r\n }\r\n\r\n }\r\n\r\n getLaudo(acessoDTO) {\r\n loadProgressBar();\r\n return ServiceApi.post(\"api/Portal/PostObterIdPrimeiroPedido\", acessoDTO); //Para obter o Id do pedido para adicionar histórico de aceite do LGPD\r\n }\r\n\r\n obterUltimosLaudosComStudyUid(ultimoLaudoFiltro) {\r\n loadProgressBar();\r\n return ServiceApi.post(\"api/Portal/PostUltimosLaudosComStudyUid\", ultimoLaudoFiltro)\r\n }\r\n\r\n /*/\r\n formatDate(value){\r\n return moment.utc(moment(value).year()+\"-\"+(moment(value).month() + 1)+\"-\"+moment(value).date()).toDate();\r\n }\r\n /*/\r\n\r\n}","import { ServiceApi } from \"./Api\";\r\nimport { loadProgressBar } from 'axios-progress-bar';\r\n\r\nexport class MedicoService {\r\n\r\n PostAdicionarParecer(parecerDTO) {\r\n loadProgressBar();\r\n return ServiceApi.post(\"api/Portal/PostAdicionarParecer\", parecerDTO);\r\n }\r\n\r\n GetParecerMedico(pedidoId){\r\n loadProgressBar();\r\n return ServiceApi.post(\"api/Portal/PostListarParecerMedico?pedidoId=\"+pedidoId); \r\n }\r\n \r\n}","import React, { Component } from 'react';\r\nimport { Galleria } from 'primereact/galleria';\r\nimport { Button } from 'primereact/button';\r\nimport { Slider } from 'primereact/slider';\r\nimport { ServiceApi } from \"./../../service/Api\";\r\nimport axios from \"axios\";\r\nimport md5 from 'md5';\r\nimport { ProgressSpinner } from 'primereact/progressspinner';\r\nimport print from 'print-js';\r\nimport sun from '../../images/sun.svg';\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nlet listaImgThumb = [];\r\nlet _listaImagens = [];\r\nvar xhr = null;\r\n\r\nexport class GaleriaImagens extends Component {\r\n\r\n constructor(props) {\r\n super();\r\n this.state = {\r\n splash: false,\r\n listaSeries: [],\r\n intances: [],\r\n listaImagensThumb: [],\r\n listaImagens: [],\r\n selectImageView: \"\",\r\n visible: false,\r\n autoHeigth: \"auto\",\r\n activeIndex: 0,\r\n _autoWidth: window.innerWidth,\r\n _autoHeigth: window.innerHeight,\r\n valueInputThumb: 1,\r\n brilhoImageValue: 500,\r\n totalImagens: 0,\r\n impressaoImagens: \"\",\r\n servicoDeImagem: \"orthanc\",\r\n abortaRequisicao: false\r\n };\r\n\r\n this.serviceImages = \"\";\r\n this.compare = \"\";\r\n this.iconPanel = \"pi pi-window-maximize\";\r\n this.iconTitle = \"Visualizar em tela cheia\";\r\n this.ultimaImagemArrastada = null;\r\n\r\n this.thumbnailTemplate = this.thumbnailTemplate.bind(this);\r\n\r\n this.responsiveOptions = [\r\n {\r\n breakpoint: '1024px',\r\n numVisible: 5\r\n },\r\n {\r\n breakpoint: '768px',\r\n numVisible: 3\r\n },\r\n {\r\n breakpoint: '560px',\r\n numVisible: 1\r\n }\r\n ];\r\n\r\n }\r\n\r\n funcaoArrastarSoltarImagem() {\r\n let _listaImagensThumb = document.getElementById(\"listaImagensThumb\");\r\n var touchPos;\r\n\r\n if (this.props.mobilecheck()) {\r\n\r\n function borderDragOverMob(ativar) {\r\n try {\r\n const el = document.body.getElementsByClassName('p-galleria-item')[0];\r\n try {\r\n ativar ? el.classList.add('dragBorderOver') : el.classList.remove('dragBorderOver');\r\n } catch (error) { }\r\n } catch (error) { console.log(error); }\r\n }\r\n\r\n _listaImagensThumb.addEventListener('touchmove', function (e) {\r\n touchPos = e.targetTouches[0].clientX;\r\n borderDragOverMob(touchPos > 250);\r\n }, { passive: true });\r\n\r\n _listaImagensThumb.addEventListener('touchend', function (e) {\r\n if (touchPos > 250) {\r\n if (e.target.tagName === \"IMG\") {\r\n document.getElementById(e.target.id).click();\r\n borderDragOverMob(false);\r\n }\r\n }\r\n });\r\n } else {\r\n\r\n function borderDragOverWeb(ativar) {\r\n const el = document.body.getElementsByClassName('p-galleria-item')[0];\r\n try {\r\n ativar ? el.classList.add('dragBorderOver') : el.classList.remove('dragBorderOver');\r\n el.addEventListener('dragover', function (e) {\r\n e.preventDefault();\r\n });\r\n } catch (error) { }\r\n }\r\n\r\n try {\r\n _listaImagensThumb.addEventListener(\"dragover\", function (e) {\r\n borderDragOverWeb(e.clientX > 170 && e.clientY < 555);\r\n }, { passive: true });\r\n } catch (ex) { }\r\n\r\n try {\r\n _listaImagensThumb.addEventListener(\"dragend\", function (e) {\r\n e.preventDefault();\r\n try {\r\n if (e.clientX > 170 && e.clientY < 555)\r\n document.getElementById(e.target.id).click();\r\n } catch (error) { }\r\n borderDragOverWeb(false);\r\n });\r\n } catch (ex) { }\r\n\r\n }\r\n }\r\n\r\n thumbMouseMove() {\r\n\r\n const el = document.body.getElementsByClassName('p-galleria-item')[0];\r\n\r\n function borderDragOverWeb(ativar) {\r\n try {\r\n try {\r\n ativar ? el.classList.add('dragBorderOver') : el.classList.remove('dragBorderOver');\r\n } catch (error) { }\r\n } catch (error) { }\r\n }\r\n\r\n try {\r\n const slider = document.querySelector('.itemsThumb');\r\n let isDown = false;\r\n let startX;\r\n let scrollLeft;\r\n slider.addEventListener('mousedown', (e) => {\r\n isDown = true;\r\n slider.classList.add('active');\r\n startX = e.pageX - slider.offsetLeft;\r\n scrollLeft = slider.scrollLeft;\r\n });\r\n slider.addEventListener('mouseleave', () => {\r\n isDown = false;\r\n slider.classList.remove('active');\r\n });\r\n slider.addEventListener('mouseup', (e) => {\r\n isDown = false;\r\n slider.classList.remove('active');\r\n });\r\n slider.addEventListener('mousemove', (e) => {\r\n if (!isDown) return;\r\n e.preventDefault();\r\n const x = e.pageX - slider.offsetLeft;\r\n const walk = (x - startX) * 3; //scroll-fast\r\n slider.scrollLeft = scrollLeft - walk;\r\n });\r\n\r\n //Arrastar/soltar imagem... \r\n el.addEventListener(\"dragover\", function (e) {\r\n e.preventDefault();\r\n borderDragOverWeb(e.clientX > 200 && e.clientY < 570);\r\n });\r\n\r\n slider.addEventListener(\"dragend\", function (e) {\r\n e.preventDefault();\r\n if (e.clientX > 200 && e.clientY < 570)\r\n document.getElementById(e.target.id).click();\r\n borderDragOverWeb(false);\r\n });\r\n }\r\n catch (error) { console.log(error); }\r\n\r\n if (this.props.mobilecheck()) {\r\n let touchPos = { StartX: 0, EndX: 0, StartY: 0, EndY: 0 };\r\n el.addEventListener('touchmove', function (e) {\r\n if (touchPos.StartX === 0 && touchPos.StartY === 0) {\r\n touchPos.StartX = e.targetTouches[0].clientX;\r\n touchPos.StartY = e.targetTouches[0].clientY;\r\n }\r\n touchPos.EndX = e.targetTouches[0].clientX;\r\n touchPos.EndY = e.targetTouches[0].clientY;\r\n }, { passive: true });\r\n el.addEventListener('touchend', function (e) {\r\n if (touchPos.StartX > 0 && touchPos.EndX > 0) {\r\n if (touchPos.EndY < (touchPos.StartY * 2) && touchPos.EndY > (touchPos.StartY / 2))\r\n touchPos.StartX > touchPos.EndX ? window.nextImageTouch() : window.prevImageTouch();\r\n touchPos = { StartX: 0, EndX: 0, StartY: 0, EndY: 0 }\r\n }\r\n });\r\n }\r\n }\r\n\r\n checkServicoDeImagem() {\r\n const servicoImagem = this.props.servicoImagem;\r\n try {\r\n if (servicoImagem.split(\"/studies\").length > 1) {\r\n return this.setState({\r\n servicoDeImagem: \"asl.dicom\"\r\n })\r\n }\r\n } catch (error) { }\r\n }\r\n\r\n componentDidMount() {\r\n\r\n this.checkServicoDeImagem();\r\n\r\n document.getElementById(\"progressSpinner\").style.display = \"flex\";\r\n\r\n document.body.style.overflow = \"hidden\";\r\n window.addEventListener(\"resize\", this.atualizarWidthHeigth, false);\r\n setTimeout(() => {\r\n this.funcaoArrastarSoltarImagem();\r\n }, 1000);\r\n window.prevImageTouch = () => { this.prevImageTouch() };\r\n window.nextImageTouch = () => { this.nextImageTouch() };\r\n\r\n // window.addEventListener(\"hashchange\", function (e) { \r\n // if(this.props.panelImageJpegVisible){\r\n // let _urlAtiva = urlAtiva.replace('medico','portal');\r\n // //if (e.newURL !== _urlAtiva)\r\n // window.location.href = _urlAtiva;\r\n // }\r\n // });\r\n }\r\n\r\n prevImageTouch() {\r\n let _activeIndex = this.state.activeIndex > 0 ? this.state.activeIndex - 1 : 0;\r\n this.setState({\r\n activeIndex: _activeIndex,\r\n valueInputThumb: _activeIndex + 1\r\n });\r\n }\r\n nextImageTouch() {\r\n let _activeIndex = this.state.activeIndex + 1 < this.state.listaImagens.length ? this.state.activeIndex + 1 : this.state.activeIndex;\r\n this.setState({\r\n activeIndex: _activeIndex,\r\n valueInputThumb: _activeIndex + 1\r\n });\r\n }\r\n\r\n atualizarWidthHeigth = (event) => {\r\n this.setState({\r\n _autoHeigth: event.target.innerHeight,\r\n _autoWidth: event.target.innerWidth,\r\n })\r\n setTimeout(() => {\r\n this.funcaoArrastarSoltarImagem();\r\n }, 1000);\r\n }\r\n\r\n componentWillUnmount() {\r\n document.body.style.overflow = \"auto\";\r\n }\r\n\r\n componentDidUpdate() {\r\n this.init();\r\n }\r\n\r\n init() {\r\n if (this.props.selectedPedido) {\r\n let _compare = btoa(this.props.selectedPedido.Series);\r\n if (this.compare !== _compare) {\r\n this.setState({\r\n listaImagensThumb: [],\r\n listaImagens: [],\r\n selectImageView: \"\"\r\n });\r\n this.listarSeries();\r\n this.compare = _compare;\r\n }\r\n }\r\n }\r\n\r\n selecionaPrimeiraImagem() {\r\n setTimeout(() => {\r\n try {\r\n document.getElementById(\"img0\").click();\r\n document.getElementById(\"progressSpinner\").style.display = \"none\";\r\n } catch (error) {\r\n\r\n }\r\n }, 2000);\r\n }\r\n\r\n downloadDicomFilesCompleted(servicoImagem, studyUid, seriesAslDicom) {\r\n const tm = setInterval(async () => {\r\n await axios.get(`${servicoImagem}/${studyUid}/DownloadDicomFilesCompleted`)\r\n .then(async res => {\r\n if (res.data) {\r\n this.adicionaImagensAListaAslDicom(seriesAslDicom);\r\n clearInterval(tm);\r\n }\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n clearInterval(tm);\r\n this.adicionaImagensAListaAslDicom(seriesAslDicom);\r\n });\r\n }, 1000);\r\n }\r\n\r\n checarImagensS3(servicoImagem, studyUid, seriesAslDicom) {\r\n axios.get(`${servicoImagem}/${studyUid}/isS3`)\r\n .then(res => {\r\n if (res.data) {\r\n this.downloadDicomFilesCompleted(servicoImagem, studyUid, seriesAslDicom);\r\n return;\r\n }\r\n this.checarImagensS3(servicoImagem, studyUid, seriesAslDicom);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n return this.adicionaImagensAListaAslDicom(seriesAslDicom);\r\n });\r\n }\r\n\r\n async getValuesServiceSerie(servicoImagem, studyUid) {\r\n let seriesAslDicom = [];\r\n await axios.get(`${servicoImagem}/${studyUid}/getstudyimagens`)\r\n .then(res => {\r\n res.data.instanceImage.forEach(obj => {\r\n seriesAslDicom.push({\r\n Serie: obj.serie,\r\n Instances: obj.instances\r\n });\r\n });\r\n this.adicionaImagensAListaAslDicom(seriesAslDicom);\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n return [];\r\n });\r\n }\r\n\r\n adicionaImagensAListaAslDicom(seriesAslDicom) {\r\n listaImgThumb = [];\r\n let order = 0;\r\n try {\r\n if (seriesAslDicom.length > 0) {\r\n\r\n seriesAslDicom.forEach(obj => {\r\n let urlImage = `${this.props.servicoImagem}/${this.props.selectedPedido.StudyUid}/series/${obj.Serie}/instances/${obj.Instances[0]}/frames/0/rendered/512/512`;\r\n order++;\r\n this.loadFileSerie(urlImage, obj, order);\r\n });\r\n\r\n const tm = setInterval(() => {\r\n if (order === listaImgThumb.length) {\r\n clearInterval(tm);\r\n const listaImgThumbOrdenada = listaImgThumb.sort((a, b) => {\r\n if (a.order < b.order)\r\n return -1;\r\n if (a.order > b.order)\r\n return 1;\r\n return 0;\r\n });\r\n\r\n this.setState({\r\n listaImagensThumb: listaImgThumbOrdenada,\r\n selectImageView: listaImgThumbOrdenada[0].label,\r\n });\r\n\r\n this.selecionaPrimeiraImagem();\r\n }\r\n }, 200);\r\n\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n\r\n }\r\n\r\n listarSeriesServicoAsl() {\r\n this.getValuesServiceSerie(this.props.servicoImagem, this.props.selectedPedido.StudyUid)\r\n }\r\n\r\n listarSeriesServicoOrthanc() {\r\n try {\r\n if (this.props.selectedPedido) {\r\n let series = JSON.parse(this.props.selectedPedido.Series);\r\n series.forEach(el => {\r\n let url = this.props.servicoImagem + \"/series/\" + el.Id;\r\n return ServiceApi.getImages(url)\r\n .then(res => {\r\n this.adicionaImagensALista(res.Instances);\r\n });\r\n });\r\n }\r\n } catch (error) { console.log(error); }\r\n this.selecionaPrimeiraImagem();\r\n }\r\n\r\n adicionaImagensALista(instances) {\r\n let urlImage = this.props.servicoImagem + \"/instances/\" + instances[0] + \"/rendered?height=512\";\r\n this.loadFileSerie(urlImage, instances);\r\n }\r\n\r\n listarSeries() {\r\n if (this.state.servicoDeImagem === \"asl.dicom\")\r\n return this.listarSeriesServicoAsl();\r\n return this.listarSeriesServicoOrthanc();\r\n }\r\n\r\n loadFileSerie(urlImage, instances, order) {\r\n document.getElementById(\"progressSpinner\").style.display = \"flex\";\r\n axios.get(urlImage, {\r\n responseType: 'arraybuffer',\r\n headers: {\r\n 'Accept': 'image/jpeg',\r\n 'height': '512',\r\n 'smooth': true\r\n }\r\n }).then(response => {\r\n const _blob = new Blob([response.data], { type: 'image/jpeg' });\r\n listaImgThumb.push({ label: URL.createObjectURL(_blob), instances: instances, order: order });\r\n });\r\n }\r\n\r\n loadFileGaleria(urlImage, order, serie, instance) {\r\n document.getElementById(\"progressSpinner\").style.display = \"flex\";\r\n axios.get(urlImage, {\r\n responseType: 'arraybuffer',\r\n headers: {\r\n 'Accept': 'image/jpeg',\r\n 'height': '512',\r\n 'smooth': true\r\n }\r\n }).then(response => {\r\n const existSerie = _listaImagens.find(obj => obj.Serie === serie);\r\n _listaImagens = this.state.listaImagens;\r\n if (!existSerie)\r\n _listaImagens = [];\r\n const existInstance = _listaImagens.find(obj => obj.Instance === instance);\r\n if (!existInstance) {\r\n const _blob = new Blob([response.data], { type: 'image/jpeg' });\r\n _listaImagens.push({ label: URL.createObjectURL(_blob), order: order, Serie: serie, Instance: instance });\r\n this.setState({\r\n listaImagens: _listaImagens,\r\n selectImageView: _listaImagens[0].label\r\n });\r\n }\r\n });\r\n }\r\n\r\n listarImagensPorSerie(instances) {\r\n\r\n this.setState({ listaImagens: [], activeIndex: 0, valueInputThumb: 1 });\r\n\r\n let order = 0;\r\n\r\n if (this.state.servicoDeImagem === \"orthanc\") {\r\n instances.forEach(el => {\r\n let urlImage = this.props.servicoImagem + \"/instances/\" + el + \"/rendered?height=400\";\r\n this.loadFileGaleria(urlImage, 0, null);\r\n });\r\n this.state.totalImagens = instances.length;\r\n } else {\r\n instances.Instances.forEach(objInstance => {\r\n let urlImage = `${this.props.servicoImagem}/${this.props.selectedPedido.StudyUid}/series/${instances.Serie}/instances/${objInstance}/frames/0/rendered/512/512`;\r\n order++;\r\n this.loadFileGaleria(urlImage, order, instances.Serie, objInstance);\r\n });\r\n this.state.totalImagens = instances.Instances.length;\r\n\r\n //Ordenar imagens\r\n const tm = setInterval(() => {\r\n if (order === _listaImagens.length) {\r\n clearInterval(tm);\r\n const listaImgOrdenada = _listaImagens.sort((a, b) => {\r\n if (a.order < b.order)\r\n return -1;\r\n if (a.order > b.order)\r\n return 1;\r\n return 0;\r\n });\r\n\r\n this.setState({\r\n listaImagens: listaImgOrdenada,\r\n selectImageView: listaImgOrdenada[0].label,\r\n });\r\n }\r\n }, 500);\r\n\r\n }\r\n\r\n setTimeout(() => {\r\n this.thumbMouseMove();\r\n document.getElementById(\"progressSpinner\").style.display = \"none\";\r\n }, 1000);\r\n\r\n }\r\n\r\n calcBrilhoImagem() {\r\n if (this.state.brilhoImageValue === 500)\r\n return this.state.brilhoImageValue / 5;\r\n if (this.state.brilhoImageValue < 500)\r\n return this.state.brilhoImageValue < 300 ? this.state.brilhoImageValue / 2 : this.state.brilhoImageValue / 3;\r\n if (this.state.brilhoImageValue > 500)\r\n return this.state.brilhoImageValue > 700 ? this.state.brilhoImageValue / 2 : this.state.brilhoImageValue / 3;\r\n }\r\n\r\n itemTemplate(item, width) {\r\n try {\r\n let image = item ? item : this.state.listaImagens[0];\r\n return
    500 ? this.state.brilhoImageValue > 700 ? this.state.brilhoImageValue : this.state.brilhoImageValue / 3 : this.state.brilhoImageValue / 5}%)`,\r\n display: 'block'\r\n }} />\r\n
    \r\n Imagem: {this.state.valueInputThumb} de {this.state.totalImagens}\r\n
    \r\n
    ;\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n thumbnailTemplate(item) {\r\n return ;\r\n }\r\n\r\n onItemChange(event) {\r\n this.setState({ activeIndex: event.index, valueInputThumb: event.index + 1 });\r\n }\r\n onItemChangeThumb(index) {\r\n this.setState({ activeIndex: index, valueInputThumb: index + 1 });\r\n /*/\r\n if (focusThumb) {\r\n setTimeout(() => {\r\n try {\r\n const _itemsThumb = document.querySelector('.itemsThumb');\r\n const _imgThumbSel = document.querySelector('.imgThumbSel');\r\n _itemsThumb.scrollLeft = _imgThumbSel.offsetLeft - 10;\r\n } catch (error) { }\r\n }, 500);\r\n }\r\n /*/\r\n }\r\n\r\n handleKeyPress = (e) => {\r\n if (e.key == 'Enter') {\r\n this.onItemChangeThumb(e.target.value - 1)\r\n }\r\n }\r\n\r\n renderFooter() {\r\n return (\r\n\r\n
    \r\n
    \r\n {\r\n this.state.listaImagens.map((srcImg, index) => {\r\n return this.onItemChangeThumb(index)}\r\n // className=\"imgThumbSerie\"\r\n id={`imgThumb${index}`}\r\n style={{ marginRight: '10px' }}\r\n className={`${\"imgThumbSerie\"} ${this.state.activeIndex === index ? 'imgThumbSel' : ''}`}\r\n />\r\n })\r\n }\r\n
    \r\n\r\n
    \r\n
    \r\n this.onItemChangeThumb(this.state.activeIndex > 0 ? this.state.activeIndex - 1 : 0)}\r\n />\r\n this.handleKeyPress(e, true)} onChange={(e) => this.setState({ valueInputThumb: e.target.value })}\r\n type=\"text\" className=\"numImage\"\r\n />\r\n this.onItemChangeThumb(this.state.activeIndex < this.state.listaImagens.length - 1 ? this.state.activeIndex + 1 : this.state.activeIndex)}\r\n />\r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n -\r\n this.setState({ brilhoImageValue: e.value })} />\r\n +\r\n
    \r\n
    \r\n\r\n
    \r\n\r\n
    \r\n\r\n );\r\n }\r\n\r\n adicionaImagemAoLayout(obj) {\r\n if (obj.Index < this.state.listaImagens.length)\r\n try {\r\n return obj.Pdf.addImage(this.state.listaImagens[obj.Index].label, 'jpg', obj.X, obj.Y, 96, 80);\r\n } catch (error) { }\r\n return \"\";\r\n }\r\n\r\n _getUrl() {\r\n return axios\r\n .get(\"config.json\")\r\n .then(res => res.data.servico)\r\n .then(url => {\r\n if (url[url.length - 1] === \"/\") return url;\r\n return url + \"/\";\r\n });\r\n };\r\n\r\n // abortarRequisicao() {\r\n // xhr.abort();\r\n // }\r\n\r\n imprimirImagens() {\r\n\r\n xhr = new XMLHttpRequest();\r\n\r\n document.getElementById(\"progressSpinner\").style.display = \"flex\";\r\n\r\n\r\n let imagensDTO = [];\r\n let Layout = this.props.selectedPedido.Modalidade.LayoutPortal != null ? this.props.selectedPedido.Modalidade.LayoutPortal : 6;\r\n\r\n let order = 0;\r\n // this.state.listaImagensThumb.forEach((img, index) => {\r\n // imagensDTO.push({\r\n // StudyUid: this.props.selectedPedido.StudyUid,\r\n // Serie: img.instances.Serie,\r\n // Instance: img.instances.Instances[index],\r\n // Order: order++,\r\n // Layout: Layout,\r\n // });\r\n // });\r\n\r\n // let teste = this.props.selectedPedido.StudyUid;\r\n\r\n if (this.state.listaImagensThumb) {\r\n\r\n this.state.listaImagens.forEach((img, index) => {\r\n const listaImagensThumb = this.state.listaImagensThumb.filter(obj => obj.instances.Serie === img.Serie);\r\n imagensDTO.push({\r\n StudyUid: this.props.selectedPedido.StudyUid,\r\n Serie: img.Serie,\r\n Instance: listaImagensThumb[0].instances.Instances[index],\r\n Order: order++,\r\n Layout: Layout,\r\n });\r\n // console.log(img); \r\n });\r\n }\r\n\r\n const pedidoImagem = {\r\n PedidoId: this.props.selectedPedido.Id,\r\n StudyUid: this.props.selectedPedido.StudyUid,\r\n Imagens: imagensDTO\r\n }\r\n\r\n // console.log(this.state.listaImagens.length)\r\n const mobileCheck = this.props.mobilecheck();\r\n\r\n this._getUrl().then(url => {\r\n\r\n let caminho = `${url}api/Pedido/PostVisualizarLayoutImagem`;\r\n xhr.open('POST', caminho, true);\r\n\r\n xhr.responseType = 'arraybuffer';\r\n\r\n xhr.setRequestHeader('user', `${ServiceApi._getHeaders().headers.user}`);\r\n xhr.setRequestHeader('Cnonce', `${ServiceApi._getHeaders().headers.Cnonce}`);\r\n xhr.setRequestHeader('Token', `${ServiceApi._getHeaders().headers.Token}`);\r\n xhr.setRequestHeader('TokenPortal', `${ServiceApi._getHeaders().headers.TokenPortal}`);\r\n xhr.setRequestHeader('isPacientePortal', `${ServiceApi._getHeaders().headers.isPacientePortal}`);\r\n xhr.setRequestHeader('isConvenioPortal', `${ServiceApi._getHeaders().headers.isConvenioPortal}`);\r\n xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');\r\n\r\n xhr.onload = function (e) {\r\n if (this.status == 200) {\r\n if (mobileCheck) {\r\n var file = new File([this.response], uuidv4(), { type: \"application/pdf\" });\r\n var exportUrl = URL.createObjectURL(file);\r\n var fileLink = document.createElement('a');\r\n fileLink.href = exportUrl;\r\n fileLink.download = uuidv4() ;\r\n fileLink.click();\r\n document.getElementById(\"progressSpinner\").style.display = \"none\";\r\n\r\n } else {\r\n var blob = new Blob([this.response], { type: \"application/pdf\" });\r\n var pdfUrl = URL.createObjectURL(blob);\r\n print(pdfUrl);\r\n document.getElementById(\"progressSpinner\").style.display = \"none\";\r\n }\r\n }\r\n\r\n };\r\n\r\n let jsonData = JSON.stringify(pedidoImagem);\r\n\r\n xhr.send(jsonData);\r\n\r\n });\r\n\r\n this.props.adicionarHistoricoAcoes(42, this.props.selectedPedido.Id);\r\n }\r\n\r\n acaoBtnCancelar() {\r\n if (xhr)\r\n xhr.abort();\r\n this.props.onHideGaleria();\r\n }\r\n\r\n render() {\r\n\r\n const footer = this.renderFooter();\r\n\r\n return (\r\n\r\n
    \r\n\r\n
    \r\n \r\n
    \r\n\r\n
    {`Tzion MyResult ${this.state._autoWidth > 400 ? '- Galeria de Imagens' : ''}`}
    \r\n\r\n
    \r\n\r\n )\r\n\r\n }\r\n}","import { ServiceApi } from \"./Api\";\r\nimport moment from \"moment\";\r\nimport { PedidoPortalService } from \"./PedidoPortal\";\r\n\r\nexport class HistoricoAceiteLGPD {\r\n\r\n PostHistoricoAceiteLGPD(usuario) {\r\n\r\n let ip = \"\";\r\n let local = \"\";\r\n\r\n ServiceApi.get('https://api.ipify.org')\r\n .then(resp => {\r\n ip = resp;\r\n });\r\n\r\n navigator.geolocation.getCurrentPosition(\r\n position => {\r\n const coords = position.coords;\r\n local = `Latitude: ${coords.latitude}, Longitude: ${coords.longitude}`;\r\n }\r\n );\r\n\r\n\r\n let cnt = 0;\r\n const tm = setInterval(() => {\r\n\r\n cnt++;\r\n\r\n if (cnt === 3)\r\n ip = \"Não foi possível obter IP do usuário\";\r\n\r\n if (ip) {\r\n clearInterval(tm);\r\n const HistoricoLGPD = 'ACEITE DA POLÍTICA DE PRIVACIDADE DO TZION MYRESULT
    ' +\r\n `Usuário: ${usuario.Nome}
    ` +\r\n `Data/Hora: ${moment(new Date()).format(\"DD/MM/YYYY HH:mm:ss\")}
    ` +\r\n `IP: ${ip}
    ` +\r\n `Local (Coordenadas): ${local}`;\r\n\r\n const servicePedido = new PedidoPortalService();\r\n\r\n usuario.AcessoDTO.DadosAcesso = HistoricoLGPD;\r\n\r\n ServiceApi.post(`api/Portal/PostAceiteLGPD`, usuario.AcessoDTO)\r\n //servicePedido.getLaudo(usuario.AcessoDTO)\r\n .then(resp => {\r\n\r\n if (resp !== \"\")\r\n return alert('Não foi possível confirmar o ACEITE DA POLÍTICA DE PRIVACIDADE DO TZION MYRESULT. Tente novamente ou contate o administrador.');\r\n\r\n localStorage.setItem('AceiteLGPD', 'SIM');\r\n\r\n setTimeout(() => {\r\n window.location = \"#/portal\";\r\n window.location.reload();\r\n }, 500);\r\n\r\n })\r\n .catch(error => {\r\n console.log(error);\r\n })\r\n }\r\n }, 500);\r\n\r\n }\r\n\r\n ChecarAceiteLGPD() {\r\n const aceiteLGPD = localStorage.getItem('AceiteLGPD') === 'SIM';\r\n if (aceiteLGPD === false) {\r\n sessionStorage.clear();\r\n window.location.reload();\r\n }\r\n }\r\n\r\n}","import axios from 'axios';\r\n\r\nasync function loadConfig() {\r\n try {\r\n const response = await axios.get('config.json');\r\n return response;\r\n } catch (error) {\r\n console.error('Falha ao carregar configuração', error);\r\n throw error;\r\n }\r\n}\r\n\r\nasync function createInstance(params) {\r\n const config = await loadConfig();\r\n return axios.create({\r\n baseURL: config.data.servicoPrinter\r\n })\r\n}\r\n\r\n\r\nexport async function listarJob(AcNumber) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = `/Job/PostListarJobs`;\r\n const response = await instance.post(endpoint, { AcNumber });\r\n return response.data;\r\n } catch (error) {\r\n console.error('Erro ao listar os jobs:', error);\r\n return false;\r\n }\r\n}\r\n\r\nexport async function BuscarImagensLista(jobId) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = '/Job/PostBuscarImagensListaResult';\r\n const response = await instance.post(endpoint, { Id: jobId });\r\n return response.data;\r\n } catch (error) {\r\n console.error('Erro ao carregar lista de imagens', error);\r\n throw error;\r\n }\r\n}\r\n\r\nexport async function GetProgress(jobId) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = `/Printer/GetProgress`;\r\n const response = await instance.get(endpoint, {\r\n params: { Id: jobId }\r\n });\r\n document.getElementById('progress').innerText = `(${response.data.progress}%)`;\r\n return response;\r\n } catch (error) {\r\n console.error('Erro ao buscar progresso', error);\r\n throw error;\r\n }\r\n}\r\n\r\nexport async function GetProgressList(jobs) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = '/Printer/GetProgressList';\r\n const response = await instance.get(endpoint, {\r\n params: { Id: jobs }\r\n });\r\n document.getElementById('progress').innerText = `(${response.data.progress}%)`;\r\n return response;\r\n } catch (error) {\r\n console.error('Erro ao buscar progresso', error);\r\n throw error;\r\n }\r\n}\r\n\r\nexport async function PrintJobId(jobId) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = '/Printer/PostExtractPDF';\r\n const response = await instance.post(endpoint, { Id: jobId }, { responseType: 'blob' });\r\n return response;\r\n } catch (error) {\r\n console.error('Erro ao imprimir job', error);\r\n throw error;\r\n }\r\n}\r\n\r\nexport async function PrintAllJobs(jobs) {\r\n const instance = await createInstance();\r\n try {\r\n const endpoint = '/Printer/PostExtractAllJobsPDF';\r\n const response = await instance.post(endpoint, jobs, { responseType: 'blob' });\r\n return response;\r\n } catch (error) {\r\n console.error('Erro ao imprimir todos os jobs', error);\r\n throw error;\r\n }\r\n}\r\n","import React, { Component } from \"react\";\r\nimport { ComponentsPedidoFiltroForm } from \"../components/Filtro/PedidoFiltro\";\r\nimport { DataView } from \"primereact/dataview\";\r\nimport { Button } from \"primereact/button\";\r\nimport { Dropdown } from \"primereact/dropdown\";\r\nimport { Dialog } from \"primereact/dialog\";\r\nimport { Panel } from \"primereact/panel\";\r\nimport { PedidoPortalService } from \"../service/PedidoPortal\";\r\nimport { Paginator } from \"primereact/paginator\";\r\nimport axios from \"axios\";\r\nimport { ServiceLogin } from \"../service/Login\";\r\nimport moment from \"moment/min/moment-with-locales\";\r\nimport print from 'print-js';\r\nimport { InputText } from 'primereact/inputtext';\r\nimport { InputTextarea } from 'primereact/inputtextarea';\r\nimport { RadioButton } from 'primereact/radiobutton';\r\nimport { ServiceApi } from \"../service/Api\";\r\nimport { MedicoService } from '../service/Medico'\r\nimport { Sidebar } from 'primereact/sidebar';\r\nimport { DataTable } from 'primereact/datatable';\r\nimport { Column } from 'primereact/column';\r\nimport { InputMask } from 'primereact/inputmask';\r\nimport { GaleriaImagens } from \"../screens/Imagens/GaleriaImagens\";\r\nimport { HistoricoAceiteLGPD } from \"../service/HistoricoAceiteLGPD\";\r\nimport { listarJob } from \"../service/ServiceJob\";\r\nimport './DataTableDemo.css';\r\n\r\nlet cntPgr = 0;\r\nlet pgrBarCont = null;\r\n\r\nconst pedidoFiltro = {\r\n Prontuario: null,\r\n PacienteId: 0,\r\n PacienteNome: '',\r\n AcNumber: '',\r\n Prontuario: '',\r\n DataInicial: '',\r\n DataFinal: '',\r\n Modalidades: [],\r\n //Unidades:[{Id : 1,Nome : '',}, {Id : 2,Nome : '',},{Id : 3,Nome : '',}],\r\n Unidades: [],\r\n PageIndex: 0,\r\n PageCount: 5,\r\n Revisado: true,\r\n Sort: \"DataPedido Desc\",\r\n MedicoSolicitanteFiltro: null,\r\n MedicoExecutanteFiltro: null,\r\n ConvenioId: 0\r\n};\r\n\r\n\r\nconst listPrazo = [\r\n { label: '8h', value: '8' },\r\n { label: '12h', value: '12' },\r\n { label: '24h', value: '24' },\r\n { label: '48h', value: '48' }\r\n];\r\n\r\n\r\n\r\n// Auto Heigth\r\nconst autoHeigth =\r\n{\r\n height: (window.innerHeight - 100) + 'px'\r\n};\r\n\r\nconst autoHeigthLista =\r\n{\r\n textAlign: \"left\",\r\n //height: (window.innerHeight - 20) + 'px',\r\n overflow: \"auto\"\r\n};\r\n\r\nconst getAttrs = (object, tagName) => {\r\n var doc = document.createElement(\"div\");\r\n doc.innerHTML = object;\r\n\r\n const item = doc.getElementsByTagName(tagName)[0];\r\n return [].slice.call(item.attributes).reduce((attrs, element) => {\r\n attrs[element.name] = element.value;\r\n return attrs;\r\n }, {});\r\n};\r\n\r\nvar createReactClass = require(\"create-react-class\");\r\n\r\nconst ComponentIframe = createReactClass({\r\n render: function () {\r\n return (\r\n
    \r\n