top of page
Creating Innovative Solutions

This is a sample Word document based report template (Medical Prescription) to help you understand the basic elements of preparing a report template and then creating the report.

 

 

Data Preparation

  • First register report data source connections in ReportBox Portal.

  • Then create business entities and business entity fields which are either stored procedures or SQL by using the data source connections.

  • For ex: The sample report template makes use of the following business entities: Doctor, Clinic, Patient, PatientMedicine.

 

Template Preparation

 

  • Create a word document and enter content.

  • Select the business entities fields that you want to insert into the report template as mergefields. 

  • ReportBox portal enables creation of mergefields from the selected business entity fields.

  • The sample template uses the following business entity fields as mergefields:

    «Doctor_Name», «Doctor_Qualification», «Doctor_Signature»

    «Clinic_LogoImage», «Clinic_Name» , «Clinic_Address»

    «Patient_Name», «Patient_Address», «Patient_DateOfBirth»

    «PatientMedicine_PhotoImage», «PatientMedicine_Name», «PatientMedicine_Dosage»

  • Upload the template in Reportbox Portal, which is then stored in ReportBox database.

 

 

Report Creation

 

In your code where you need to issue document based report requests, place the ReportBoxFascade DLL call to create a report with the template Id as the reference.

 

ReportBoxFacade reportBoxFacade = new ReportBoxFacade(UserBO.Authenticate());

byte[] reportContent = reportBoxFacade.CreateReport(1, BusinessEntityParameterValues, null);
 

GreenThoughts

  • facebook-square
  • Twitter Square
  • google-plus-square

© 2023 by IT SERVICES.  Proudly created with Wix.com

bottom of page