consents

Get generated consent PDFs

Get list of generated informed consent PDFs from users/<user_id>/consents/generated/. Users see their own; operators/admins can pass patient_user_id for a patient.

get/api/consents/pdfs

Query parameters

include_thumbnailsboolean

If false, thumbnails are not computed nor returned.

If false, thumbnails are not computed nor returned.

patient_user_idstring uuid nullable

Optional patient user ID (for authorized CRM users).

Optional patient user ID (for authorized CRM users).

Response

Successful Response

file_pathstring required

Path to PDF file in storage

consent_type'psychological' | 'nutritional'

Informed consent type constants.

created_atstring date-time nullable

File creation/modification time

thumbnailstring nullable

Base64 encoded thumbnail image

Changes

No recorded changes to this endpoint across all 1 revision of this API.