* @copyright Copyright (C) 2020 Vast Development Method. All rights reserved. * @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html * * Portal for mobile health clinics */ // No direct access to this file defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper as Html; use VDM\Component\Ehealthportal\Administrator\Helper\EhealthportalHelper; $edit = "index.php?option=com_ehealthportal&view=tests&task=test.edit"; ?> items as $i => $item): ?> user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; $userChkOut = Factory::getContainer()-> get(\Joomla\CMS\User\UserFactoryInterface::class)-> loadUserById($item->checked_out); $canDo = EhealthportalHelper::getActions('test',$item,'tests'); ?> get('core.edit.state')): ?> saveOrder) { $iconClass = ' inactive tip-top" hasTooltip" title="' . Html::tooltipText('JORDERINGDISABLED'); } ?> saveOrder) : ?> get('core.edit')): ?> checked_out) : ?> id); ?> id); ?>
get('core.edit')): ?> get(\Joomla\CMS\User\UserFactoryInterface::class)->loadUserById((int) $item->patient)->name; ?> checked_out): ?> name, $item->checked_out_time, 'tests.', $canCheckin); ?> get(\Joomla\CMS\User\UserFactoryInterface::class)->loadUserById((int) $item->patient)->name; ?>
urine_test_result); ?> escape($item->glucose_first_reading); ?> escape($item->glucose_second_reading); ?> escape($item->haemoglobin_reading); ?> escape($item->cholesterol_reading); ?> syphilis_first_reading); ?> syphilis_second_reading); ?> hepatitis_first_reading); ?> hepatitis_second_reading); ?> malaria_first_reading); ?> malaria_second_reading); ?> pregnancy_first_reading); ?> pregnancy_second_reading); ?> escape($item->referral_name); ?> escape($item->reason); ?> get('core.edit.state')) : ?> checked_out) : ?> published, $i, 'tests.', true, 'cb'); ?> published, $i, 'tests.', false, 'cb'); ?> published, $i, 'tests.', true, 'cb'); ?> published, $i, 'tests.', false, 'cb'); ?> id; ?>