Skip to main content

Visit Took Place


Use the Visit Took Place screen to finalize completed appointments. This screen appears when doctors select Visit Took Place from the Appointment Details screen. It presents a structured, three-step wizard for submitting visit notes, applying charges or discounts, and uploading documentation.


This screen includes:

  • A multi-step progress indicator: Visit Summary, Charges, Documents.
    Step indicator for VTP wizard
  • A memo field for diagnosis and treatment notes.
  • Optional upload for a visit summary document.
  • A Continue button enabled after completing required fields.
  • Editable fields for additional charges and discounts.
  • Categorized document upload with type selection and inline editing.
  • Step-based visual navigation across the

Workflow

  1. In the Appointment Details screen, select Visit Took Place.
    Visit Took Place entry point
  2. The VTP wizard opens with patient and appointment details prefilled.
  3. Enter diagnosis and treatment notes in the summary step.
    Diagnosis and treatment entry section
  4. Optionally, upload a visit summary document.
    See Document Details for guidance.
  5. In the Charges step, enter any additional fees or discounts.
  6. In the Documents step, upload medical files with valid type and notes.
  7. Select Save & Report Visit Took Place to complete submission.

Validations

  • Require diagnosis and treatment summary in the first step.
  • Disallow negative charge values.
  • Block discounts that exceed or equal the doctor’s net fee.
  • Validate charge and discount forms (amount, type, quantity).
  • Require document name and valid type before upload.
  • Allow only one discount per visit.
  • Highlight invalid or missing fields inline.
  • Apply frontend validation and recalculate totals automatically.

Actions

  • Continue advances to the next step after validation.
  • Save & Report Visit Took Place updates appointment status to complete.
  • Group and categorize uploaded documents by type.
  • Hide financial documents from patient view.
  • Send notes, charges, discounts, and documents to the backend.
  • Preserve entered data across steps and backward navigation.
  • Block step transitions until all validations are complete.

SDK and API References

GET 

/profile/appointments/{id}/summary

Use this method to retrieve the saved summary of a previously completed appointment. The response includes visit notes, applied charges, and attached medical documents.

UI Element Types

LevelReferenceTypeValuePlacement
1summary-headerSectionVisit summary
1internal-noteMemoEnter diagnosis and treatment summary🗨 1
1summary-group~0Group🗨 1
2summary-field-name~0Regular
2summary-name-spacer~0Spacer~
2summary-edit-button~0LinkEdit~
2summary-files~0Upload
2summary-notes~0Edit🗨 1
1summary-targetRegular🗨 1
1attach-summary-textRegularOr upload visit summary:
1upload-visit-summarySecondaryUpload Visit Summary
1barBar
1charges-headerSectionCharges🗨 1
1charges-infoRegularIf there were any additional treatments, please add them here:
1header-itemExtraItem
1header-spacerSpacer~
1header-amountExtraDoctor fee~
1visit-typeRegularvisit type name🗨 1
1visit-spacerSpacer~
1visit-feeHighlightappointment net fee with currency~
1dashesDashes
1charge-group~0Group
2extra-title~0Regularextra charge's notes
2extra-spacer~0Spacer🗨 1
2extra-amount~0Highlightquantity * price in appointment’s currency~
2extra-edit~0LinkEdit~
2charge-info~0Editextra charge's notes🗨 1
2charge-quantity~0Integerextra charge's quantity🗨 1
2charge-price~0Doubleextra charge's amount🗨 1
2dashes~0Dashes
1extra-targetRegular🗨 1
1discount-groupGroup🗨 1
2extra-title~dRegulardiscount’s notes🗨 1
2extra-spacer~dSpacer~
2extra-amount~dHighlightdiscount price in appointment's currency🗨 1
2extra-edit~dLinkEdit~
2discount-type~dEditthe DiscountType in json representation🗨 1
2discount-amount~dDoublethe relative value of amount or percentage🗨 1
2dashesDashes
1discount-targetRegular🗨 1
1total-fee-titleHighlightTotal (doctor’s share)
1total-fee-spacerSpacer~
1total-feeHighlighttotal fee = appointment fee net + all charges - discount~
1add-chargeGhostAdd charge🗨 1
1add-discountGhostAdd discount🗨 1
1barBar
1document-headerSectionDocuments
1document-group~0Group
2document-type-title~0Highlightthe MedicalDocumentType translations (represents ExpenseTypeEnum)🗨 1
2document-file-name~0Extradocument’s notes
2document-name-spacer~0Spacer~
2document-edit-button~0LinkEdit~
2document-files~0Upload
2document-type~0Editthe MedicalDocumentType in json representation🗨 1
2document-notes~0Editdocument’s notes🗨 1
1document-targetRegular🗨 1
1attach-medical-documentSecondaryAttach Documents
1barBar
1saveButtonSave & Report visit took place

PATCH 

/profile/appointments/{appointment-id}/summary/summaries

Add a summary document to the Visit Took Place screen when the user clicks Add document in the popup. Display the document immediately without reloading the screen.

PATCH 

/profile/appointments/{appointment-id}/summary/summaries/update

Update a summary document on the VTP screen with new values when the user clicks Update. Display the updated document immediately without reloading the screen.

PATCH 

/profile/appointments/{appointment-id}/summary/summaries/delete

Remove a summary document from the VTP screen when the user clicks Delete. Update the screen immediately without reloading.