Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions api-reference/user-app/records/constraints.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<Note>
Constraints for File Upload:
1. A client can create a maximum of 20 batches at a time.
2. Each batch can include up to 10 files.
3. All files in a batch must have the same content type.

Valid Content Types:
- Images:
- `contentTypeJpg` = "image/jpg"
- `contentTypePng` = "image/png"
- Documents:
- `contentTypePdf` = "application/pdf"

Valid File Sizes:
- Maximum size for PDF files: `pdfMaxSizeMb` = 25 MB
- Maximum size for image files: `imageMaxSizeMb` = 10 MB

Valid Document Types:
- The following values are allowed:
- `ps`: Prescription
- `lr`: Lab Report
- `ot`: Other
- `ds`: Discharge Summary
- `vc`: Vaccine Certificate
- `in`: Insurance
- `iv`: Invoice
- `sc`: Scan

</Note>
17 changes: 0 additions & 17 deletions api-reference/user-app/records/obtain-authorization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,3 @@ openapi: post /mr/api/v1/docs
---


<Note>
Constraints for File Upload:
1. A client can create a maximum of 20 batches at a time.
2. Each batch can include up to 10 files.
3. All files in a batch must have the same content type.

Valid Content Types:
- Images:
- `contentTypeJpg` = "image/jpg"
- `contentTypePng` = "image/png"
- Documents:
- `contentTypePdf` = "application/pdf"

Valid File Sizes:
- Maximum size for PDF files: `pdfMaxSizeMb` = 25 MB
- Maximum size for image files: `imageMaxSizeMb` = 10 MB
</Note>
Loading