PreAppointmentDocumentResponse
Support document resource returned in successful responses
Current status of the document (PENDING = placeholder awaiting upload, RECEIVED = file uploaded)
Possible values: [PENDING, RECEIVED]
RECEIVEDIdentifier of the associated charge, if any
550e8400-e29b-41d4-a716-446655440001Human-readable name of the support type, from the provider's document catalog. Null when the code has no catalog entry; consumers should fall back to supportFileCode.
Guia médicaTimestamp when the document record was created
2026-07-06T16:45:23.123-05:00Indicates whether this document is mandatory for the associated procedure
trueOriginal file name provided by the client
cpf-123.pdfPresigned URL to download the document; null if the document has no file yet
https://osigu-rcm.s3.amazonaws.com/pre-attendance/...Code identifying the type of support document
CPFSource of the document (HIS_INBOUND = from external HIS system, MANUAL = uploaded manually)
Possible values: [HIS_INBOUND, MANUAL]
MANUALRaw AI validation detail as stored by the validation service; null when the document was never analysed or was approved. Forwarded verbatim (the consumer parses it), so the DVS contract can evolve without changing this API.
{"aiAnalysisTypeApplied":"GUIA_TISS_INTERNACAO","errors":[{"field":"48 - Código na Operadora/CNPJ","value":null,"reason":"Falta assinatura do Beneficiário ou Responsável","subreason":null,"reasonKey":"SIGNATURE_NOT_PROVIDED","precisionPercentage":null}]}Overall confidence of the AI analysis, as a percentage
87.5File size in bytes
102400Provider product code of the associated charge, if any
PROD-001Unique identifier (UUID) of the document record
550e8400-e29b-41d4-a716-446655440000Detected MIME type of the uploaded file
application/pdfAI-based validation status of the document content
Possible values: [APPROVED, REJECTED, PENDING, NOT_APPLICABLE, ERROR]
PENDING