object or null | |
url | string or null <uri> |
{- "fields": {
- "key": "string",
- "policy": "string",
- "x-amz-credential": "string",
- "x-amz-signature": "string",
- "x-amz-algorithm": "string",
- "success_action_status": "201",
- "acl": "private"
},
}
object or null | |
content_type | string or null mime type |
created_at | string <date-time> |
description | string or null <= 255 characters |
filename | string or null |
id | string <int64> |
object | |
object | |
pinned_at | string or null <date-time> |
processed_at | string or null <date-time> |
processing_completed | boolean or null |
size | integer or null |
updated_at | string <date-time> |
object |
{- "content_type": "text/plain",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
successful operation
{- "patient_attachments": [
- {
- "content_type": "text/plain",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
], - "total_entries": 1,
- "links": {
}
}
To create a patient attachment, you must first generate a presigned URL, upload your file to that URL, and then supply that URL and response key in the upload_url
request body parameter.
description | string or null <= 255 characters |
patient_id | string <int64> patient id |
upload_url | string <uri> Must be a presigned URL returned by the presigned URL upload process |
Resource was created
Resource could not be saved due to validation errors
{- "patient_id": "1",
- "description": "string",
}
{- "archived_at": "2019-08-24T14:15:22Z",
- "content_type": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
q[] | Array of strings |
Successful operation
{- "content_type": "text/plain",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
successful operation
{- "patient_attachments": [
- {
- "content_type": "text/plain",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
], - "total_entries": 1,
}
successful operation
{- "fields": {
- "key": "string",
- "policy": "string",
- "x-amz-credential": "string",
- "x-amz-signature": "string",
- "x-amz-algorithm": "string",
- "success_action_status": "201",
- "acl": "private"
},
}
successful operation
{- "patient_attachments": [
- {
- "content_type": "text/plain",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "filename": "string",
- "id": "1",
- "pinned_at": "2019-08-24T14:15:22Z",
- "processed_at": "2019-08-24T14:15:22Z",
- "processing_completed": true,
- "size": 0,
- "updated_at": "2019-08-24T14:15:22Z",
}
], - "total_entries": 1,
}