Attaching files
Use this guide when an authorization requires supporting documents such as clinical notes, labs, or images.
Documents move through two resources: a File stores uploaded bytes, and an
authorization attachment links a ready file to a requirement.
Supported files
The filename extension must match contentType when an extension is present.
Empty uploads, oversized uploads, mismatched file content, and unavailable
storage targets return typed errors.
Upload and attach
Upload bytes
Upload the raw bytes exactly as instructed by upload.method,
upload.url, and upload.headers.
Replace an attachment
Before the authorization is terminal:
- Delete the existing attachment.
- Upload and complete the replacement file.
- Attach the new file with the current authorization
version.
Removing an attachment can reintroduce a blocker and move the authorization back to requirements resolution.
Attachment writes recompute requirements. They do not resume Collate processing by themselves.