Insert the LSMremote application in your website - LabCollector

Search Knowledge Base by Keyword

Insert the LSMremote application in your website

You are here:
← All Topics

LSMremote is an easy web/mobile interface of your Lab Service Manager for your client accessible through your own URL.

To install LSM remote, download the ZIP file from the Client Area. Unzip this folder in the folder of your choice.

Then rename the config_install.ini in this folder to be config.ini and edit the file.

Note: ensure you that in php.ini, extension=php_soap.dll is enabled (php.ini is found in a path like this for Windows – C:\Program Files (x86)\AgileBio\LabCollector\php\). Remember to restart the LabCollector Server Manager for this change to take effect.

1. Default properties

The only mandatory action is replaced [path] under wsurl by the LSM URL, example: http://www.mydomain.com/lab/extra_modules/lsm

title = none
logo = none
color = none
wsurl = [path]/ws/service.php?wsdl
autogenerate_job_number = true
autogenerate_sample_name = true
allow_quote = false
default_lang = en *NEW v4.0
hide_job_date = true
hide_expected_date = true
hide_purchase_order = false
hide_submit_link = false
hide_user_name = true
hide_priority = true
hide_priority = false *NEW v4.0

report_html_button = true
report_html_label = _default
report_pdf_button = true
report_pdf_label = _default
report_files_button = true
report_files_label = _default
repeat_job_button = true *NEW v4.0
release_partial_results = true *NEW v4.0

quote_pdf_button = true
quote_pdf_label = _default
grid_multiple_samples = true
grid_width_100 = true *NEW v4.0
purchase_order_helper_text = free text
provider_login_title = Providers access *NEW v4.0
patient_login_title = Report access *NEW v4.0
jobs_order = DESC
recover_password_mode = none
recover_password_text = free text
allow_register = true
security_parameter = none *NEW v4.0
token_access = true *NEW v4.0

2. Customized properties

Default value Description Valid values Example
title none Optional title in header free text title = LSM remote app
logo none Optional image in header image URL logo = http://www.mydomain.com/lab/logo.png
color none Optional background color web color color = lightblue
autogenerate_job_number true If true ‘Job number’ is auto generated.
If false, a ‘Job number’ field is added to the form.
true | false autogenerate_job_number = true
autogenerate_sample_name true If true ‘Sample name’ is auto generated.
If false, a ‘Sample name’ field is added to the form.
true | false autogenerate_sample_name = true
allow_quote false If true a new Boolean field is added to the form, to allow order just a quote instead of a job. true | false allow_quote = false
hide_job_date true If false ‘Job date’ is displayed on the form. true | false hide_job_date= true
hide_expected_date true If false ‘expected date’ is displayed on the form. true | false hide_expected_date = true
report_html_button true If false, hide the HTML report button on Job List. true | false report_html_button = true
report_html_label _default Customized label for HTML report button. _default | free text report_html_label = View report
report_pdf_button true If false, hide the PDF report button on Job List. true | false report_pdf_button = true
report_pdf_label _default Customized label for PDF report button. _default | free text report_pdf_label = PDF report
report_files_button true If false, hide the Files button on Job List. true | false report_files_button = true
report_files_label _default Customized label for Files button. _default | free text report_files_label = Additional files
quote_pdf_button true If true, a visible button allows to see quotes on job list true | false quote_pdf_button = true
quote_pdf_label _default Customized label of Quote button _default | free text quote_pdf_label = QUOTE
grid_multiple_samples false only one sample per job is supported, if true multiple samples per job are supported true | false grid_multiple_samples = false
purchase_order_helper_text text Customize the helper text for purchase order field free text purchase_order_helper_text = If you pay by PO, please enter the number here
jobs_order DESC If DESC, job list is filtered by ID descendant DESC | ASC jobs_order = DESC
recover_password_mode none Add option to recover forgotten password mail | text | none recover_password_mode = mail
recover_password_text free text Text displayed if recover password mode is text free text recover_password_text = Contact the administrator to get a new password
allow_register true If true, this allows a new user to register their account.
If false, this facility will be blocked.
true | false allow_register = true
hide_purchase_order false If true, the user can submit a purchase order number with their order. true | false hide_purchase_order = false
hide_submit_link false If true, users can only view results and cannot submit jobs. true | false hide_submit_link = false
hide_user_name true If false, if a user adds a test to an existing job (via the Workflow Manager for example) then the user’s name will appear under the Requester name. true | false hide_user_name = true
hide_priority true if false, the prority field (low, normal, rush) is displayed on the form. true | false hide_priority = true

 

  • This application has is own authentication mode. Just give to your client or collaborators their user name and password
  • On this interface, they can submit an order just by filling a form that you created under your LSM
  • See the status of their job
  • and they can get their results in HTML or PDF format.


To insert the LSMremote application in a WordPress page, copy this code in the HTML content:

<code>
<script type="text/javascript" src="[path]js/iframeResizer.min.js"></script>
<iframe src="[path]" frameborder="0" scrolling="no" width="100%" onload="javascript:iFrameResize({heightCalculationMethod:'lowestElement'});"></iframe>
<\code>

Replace [path] by the app URL, example: http://www.mydomain.com/lab/extra_modules/lsmremote

Related topics: