Documents

Get a document by ID

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdstringRequiredPattern: [^\/#\?]+?
documentIdstringRequiredPattern: [^\/#\?]+?
Responses
chevron-right
200Success
text/html; charset=utf-8
get
/api/patients/{patientId}/documents/{documentId}
200Success

Get documents by patient ID

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdstringRequiredPattern: [^\/#\?]+?
Query parameters
patientIdstringOptional

Unique identifier for the patient

Example: 12345
personIdnumberOptional

Unique identifier for the user who updated the document

Example: 12345
updatedByIdstringOptional

Unique identifier for the user who updated the document

Example: 12345
updatedByPersonIdnumberOptional

Unique identifier for the user who updated the document

Example: 12345
labelIdnumber[]Optional

Unique identifier for the label

Example: 12345
fileIdinteger[]Optional

Unique identifier for the file

Example: 12345
pathstringOptional

Path of the document

Example: surveys
statusstring · enumOptional

Status of the document

Default: DRAFTExample: DRAFTPossible values:
uploadToS3booleanOptional

Upload to S3

Example: true
organizationIdanyOptional

Organization ID

Example: 12345
namestringOptional

Search documents by name (case-insensitive partial match)

Example: patient_report
populationTagsnumber[]Optional

Population tags

Default: []Example: [1,2,3]
requestingUserRolesstring[]Optional

Requesting user's roles

Default: []Example: ["OWNER","MEMBER"]
sortFieldstringOptional

Sort field

Example: name
sortOrderstring · enumOptional

Sort order

Example: ASCPossible values:
pageNumberinteger · min: 1Optional

Page number

Example: 1
pageSizeinteger · min: 1Optional

Page size

Example: 10
searchKeystringOptional

Search key

Example: search
Responses
chevron-right
200Success
text/html; charset=utf-8
get
/api/patients/{patientId}/documents
200Success

Create a document for a patient

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdstringRequiredPattern: [^\/#\?]+?
Query parameters
patientIdstringOptional

Unique identifier for the patient

Example: 12345
personIdnumberOptional

Unique identifier for the user who updated the document

Example: 12345
updatedByIdstringOptional

Unique identifier for the user who updated the document

Example: 12345
updatedByPersonIdnumberOptional

Unique identifier for the user who updated the document

Example: 12345
labelIdnumber[]Optional

Unique identifier for the label

Example: 12345
fileIdinteger[]Optional

Unique identifier for the file

Example: 12345
pathstringOptional

Path of the document

Example: surveys
statusstring · enumOptional

Status of the document

Default: DRAFTExample: DRAFTPossible values:
uploadToS3booleanOptional

Upload to S3

Example: true
organizationIdanyOptional

Organization ID

Example: 12345
namestringOptional

Search documents by name (case-insensitive partial match)

Example: patient_report
populationTagsnumber[]Optional

Population tags

Default: []Example: [1,2,3]
requestingUserRolesstring[]Optional

Requesting user's roles

Default: []Example: ["OWNER","MEMBER"]
sortFieldstringOptional

Sort field

Example: name
sortOrderstring · enumOptional

Sort order

Example: ASCPossible values:
pageNumberinteger · min: 1Optional

Page number

Example: 1
pageSizeinteger · min: 1Optional

Page size

Example: 10
searchKeystringOptional

Search key

Example: search
Body
updatedByIdanyRequired

Unique identifier for the user who updated the document

Example: 12345
openTeleSessionIdstringOptional

Unique identifier for the open tele session

Example: 12345
attributesstring · jsonOptional

Attributes of the document

Default: {}
labelIdanyRequired

Unique identifier for the label

Example: 12345
statusstring · enumRequired

Status of the document

Default: DRAFTExample: DRAFTPossible values:
appointmentIdnumberOptional

Unique identifier for the appointment

Example: 12345
surveyResponseIdintegerOptional

Survey response ID associated with this document

Example: 12345
Responses
chevron-right
200Success
text/html; charset=utf-8
post
/api/patients/{patientId}/documents
200Success

Was this helpful?