Repository navigation
Ler a ficha por foto com o Claude e cadastrar o paciente no dados.json do Orthck - #1
Merged
Merged
Conversation
…thck dados.json Replace the PDF flow: the app now opens the Orthck dados.json, reads the form photo (Avaliacao ortopedica - Araruna CER II) with claude-opus-5-5 using structured outputs, lets the user review fields, detects patients already registered (CPF, CNS or name + birth date) and downloads the updated dados.json for the Mac and Windows apps. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018E39AExSTJEM7CuKxnfuTJ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda
dados.jsondo Orthck (Mac ou Windows), lê a foto da ficha (Avaliação ortopédica – Araruna, CER II) com o Claude (claude-opus-5-5, saída em JSON Schema,fallbacks: "default") e mostra os campos para conferir.dados.jsoncompleto e atualizado (o import do Windows substitui todos os dados, por isso não se gera um arquivo só com o paciente novo). Sem o arquivo aberto, gera um JSON só com os novos, para "Juntar" no Mac.@anthropic-ai/sdk1.0.0 empacotado emvendor/(sem CDN).Teste
Fluxo completo no Chromium com a API simulada: abrir dados.json, ler 2 fichas, completar paciente existente, CPF inválido avisado, paciente novo, download do dados.json preservando as demais chaves. Layout conferido em 390 px sem rolagem horizontal. Não testado com a API real nem com a importação nos apps.
Generated by Claude Code