This page is where you can find the most common placeholders that are used in document templates. You can refer here for our document template samples.


Please watch this short video on how to use the following placeholders and upload the template created in Klinify:



Document templates are files that can be added to Klinify and exported by the user at certain points in the app with required detail pre-filled. An example might be a Microsoft Word Document with the following contents :


{date} {time}

{patient_name}


When exported for a patient name "Johnny Depp" on 31/10/2020 at 8:30pm, the document will be transformed to :


31/10/2020 8:30pm

Johnny Depp


Format

Currently the application can only handle documents of the format Docx. They can use the placeholders displayed below, surrounded by "{" and "}", to fill in data from the app. If a non-preset placeholder is used then the user will be given an empty form field to fill that value in before exporting.


General Contexts

  • Date {date}
  • Time {time}
  • Clinic Name {clinic_name}
  • Clinic Address in Settings {clinic_address}
  • Clinic Phone in Settings {clinic_phone}

Patient

  • Patient Name {patient_name}
  • Patient’s Employer {patient_current_employer}
  • Patient IC {patient_ic}
  • Ethnicity {patient_ethcnicity}
  • Age {patient_age}
  • Sex {patient_sex}

Medical Certificate

  • MC reasons {mc_reasons}
  • Days of MC {mc_days}
  • Start Date of MC {mc_start_date}
  • End Date of MC {mc_end_date}
  • MC Serial Number {mc_internal_clinic_id}
  • Notes {mc_notes}
  • Encounter Doctor name {encounter_doctor}
  • Diagnosis {encounter_diagnoses}

Time Chit

  • Start Time {tc_start_time}
  • End Time {tc_end_time}
  • Notes {tc_notes}
  • Serial Number {tc_internal_clinic_id}

Payments


Name
Placeholder
Description
Modifiers / Usage
PaymentspaymentsThe payments for an encounter/bill

This is a loop placeholder. It allows for X number of Payments to be displayed in the word document using the following format:

{#payments}
    {payment_date}: RM{payment_amount} - {payment_method} ({payment_notes})
{/payments}

If the bill had 2 payments of varying prices then it would be transformed into the following:

01/01/18: RM100.40 - Cash ()

05/01/18: RM50.43 - Card (Maybank Visa)

Payment - Datepayment_dateThe date of the paymentMust be inside a payments loop to be valid.
Payment - Amountpayment_amountThe amount of the paymentMust be inside a payments loop to be valid.
Payment - Methodpayment_methodThe payment methodMust be inside a payments loop to be valid.
Payment - Notespayment_notesAny notes attached to the paymentMust be inside a payments loop to be valid.

 

Bill

  • Date and Time of Bill {bill_date}
  • Bill Notes {bill_notes}
  • Serial Number {bill_serial_number}
  • Total Amount {bill_total_amount}
  • Co-payment Amount {bill_co_payment}
Bill Itemsbill_itemsThe items for a bill

This is a loop placeholder. It allows for X number of Bill Items to be displayed int the word document using the following format:

{#bill_items}
    {bill_item_name}: {bill_item_quantity} x {bill_item_price}
{/bill_items}

If the bill had 3 items of varying prices then it would be transformed into teh following:

Drug A: 2 x 9.95

Drug B: 1 x 5.00

Drug C 1 x 10.00

Bill Item - Quantitybill_item_quantityThe quantity of the bill item given to the user

Must be inside a bill_items loop to be valid.

Bill Item - Dispensation Unitbill_item_dispensation_unitThe dispensation unit of the bill item.Must be inside a bill_items loop to be valid.
Bill Item - Pricebill_item_priceThe unit price of the bill item.Must be inside a bill_items loop to be valid.
Bill Item - Total Pricebill_item_total_priceThe total price of the bill item.Must be inside a bill_items loop to be valid.
Bill Item - Namebill_item_nameThe name of the bill item.Must be inside a bill_items loop to be valid.
Bill Item - Typebill_item_typeThe type of the bill item (Drug, Sales Item, Lab Request).Must be inside a bill_items loop to be valid.
Bill Item - Is Claimed?bill_item_is_claimedClaimed / Not ClaimedMust be inside a bill_items loop to be valid.

-

Prescriptions

-

Name
Placeholder
Description
Modifiers / Usage
PrescriptionsprescriptionsThe Prescriptions for an encounter

This is a loop placeholder. It allows for X number of Prescriptions to be displayed in the word document using the following format:

{#prescriptions}
    {prescription_name}: {prescription_quantity} x {prescription_price}
{/prescriptions}

If the bill had 3 items of varying prices then it would be transformed into teh following:

Drug A: 2 x 9.95

Drug B: 1 x 5.00

Drug C 1 x 10.00

Prescription Nameprescription_name
Must be inside a prescriptions loop to be valid.
Prescription Dosageprescription_dosage
Must be inside a prescriptions loop to be valid.
Prescription Dosage Unitprescription_dosage_unit
Must be inside a prescriptions loop to be valid.
Prescription Frequencyprescription_frequency
Must be inside a prescriptions loop to be valid.
Prescription Price (per unit)prescription_price
Must be inside a prescriptions loop to be valid.
Prescription Quantityprescription_quantity
Must be inside a prescriptions loop to be valid.
Prescription Total Priceprescription_total_price
Must be inside a prescriptions loop to be valid.
Prescription Dispensation unitprescription_dispensation_unit
Must be inside a prescriptions loop to be valid.
Prescription Notesprescription_notes
Must be inside a prescriptions loop to be valid.
Prescription Reasonprescription_reason
Must be inside a prescriptions loop to be valid.