Skip to main content

Present Document


Use Present Document to add, update, or remove visit-related documents for an appointment.

Open this screen from Appointment Details or the Visit Took Place workflow.



This screen includes:

#ElementDescription
1Document typeSelects the document category
2Document nameSpecifies an optional document name
3File uploadAdds PDF, JPG, or PNG files
4Document actionsAdd, update, or remove documents

Workflow

Add Documents

  1. Open Appointment Details and select Documents, or open Visit Took Place and select Attach Documents.
  2. Select a document type.
  3. Enter a document name when required.
  4. Select one or more PDF, JPG, or PNG files.
  5. Select Add Documents.
  6. Apply the returned update set to the active screen.

Update a Document

  1. Select an existing document.
  2. Change the document type, name, or file.
  3. Select Update.
  4. Apply the returned update set.

Remove a Document

  1. Select an existing document.
  2. Select Remove.
  3. Apply the returned update set.

Validations

ScenarioApp behaviorSDK output
No file is selectedBlock submissionValidation error
Unsupported file type is selectedReject the fileValidation error
Required document value is missingBlock submissionValidation error
Upload request failsPreserve the current document stateError response
Add request succeedsAdd the document to the active screenPATCH update set
Update request succeedsUpdate the selected documentPATCH update set
Delete request succeedsRemove the selected documentPATCH update set

Actions

ScenarioApp behaviorSDK output
Add Documents selectedAdd the documentPATCH update set
Document values changeUpdate the active document fieldsPATCH update set
Update selectedSave document changesPATCH update set
Remove selectedRemove the documentPATCH update set

Supported File Types

File typeSupported
PDFYes
JPGYes
PNGYes

Endpoint Resources

Present Document

PUT 

v3/appointments/{appointment-id}/summary/documents

Displays the Manage Documents screen for the specified appointment.

The returned screen includes a document type selector, optional document name, and file upload control.

Path Parameters

ParameterTypeRequiredDescription
appointment-idIntegerYesIdentifies the appointment

UI Element Types

LevelReferenceTypeValuePlacement
1discount-uploadUploadFile upload
1discount-typeComboDocument type
1document-notesEditName
1createButtonAdd Documents
1updateButtonUpdate
1removeGhostRemove
note

The API schema uses the references discount-upload and discount-type for document controls. Preserve these reference IDs in SDK integrations.


Add Document

PATCH 

v3/appointments/{appointment-id}/summary/documents

Adds a medical document to the appointment record and returns an update set.

Update Document

PATCH 

v3/appointments/{appointment-id}/summary/documents/{document-id}/update

Updates document metadata or file content for the specified document.

Delete Document

PATCH 

v3/appointments/{appointment-id}/summary/documents/{document-id}/delete

Removes the specified medical document from the appointment record.