Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
70ca4094f1 |
34
README.md
34
README.md
@ -1,4 +1,4 @@
|
|||||||
# eHealth Portal (1.0.5)
|
# eHealth Portal (3.0.0)
|
||||||
|
|
||||||
![eHealth Portal image](https://raw.githubusercontent.com/Namibia/eHealth-Portal/master/admin/assets/images/vdm-component.jpg "The eHealth Portal")
|
![eHealth Portal image](https://raw.githubusercontent.com/Namibia/eHealth-Portal/master/admin/assets/images/vdm-component.jpg "The eHealth Portal")
|
||||||
|
|
||||||
@ -6,42 +6,42 @@
|
|||||||
|
|
||||||
# Build Details
|
# Build Details
|
||||||
|
|
||||||
+ *Company*: [Vast Development Method](https://github.com/namibia/eHealth-Portal)
|
+ *Company*: [Vast Development Method](https://git.vdm.dev/joomla/eHealth-Portal)
|
||||||
+ *Author*: [Oh Martin](mailto:oh.martin@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [eHealth Portal](https://github.com/namibia/eHealth-Portal)
|
+ *Name*: [eHealth Portal](https://git.vdm.dev/joomla/eHealth-Portal)
|
||||||
+ *First Build*: 13th August, 2020
|
+ *First Build*: 19th January, 2024
|
||||||
+ *Last Build*: 24th April, 2021
|
+ *Last Build*: 19th January, 2024
|
||||||
+ *Version*: 1.0.5
|
+ *Version*: 3.0.0
|
||||||
+ *Copyright*: Copyright (C) 2020 Vast Development Method. All rights reserved.
|
+ *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
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
## Build Time
|
## Build Time
|
||||||
|
|
||||||
**425 Hours** or **53 Eight Hour Days** (actual time the author saved -
|
**449 Hours** or **56 Eight Hour Days** (actual time the author saved -
|
||||||
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||||
> never making one mistake or taking any coffee break.)
|
> never making one mistake or taking any coffee break.)
|
||||||
|
|
||||||
+ *Line count*: **152325**
|
+ *Line count*: **160836**
|
||||||
+ *File count*: **1125**
|
+ *File count*: **1113**
|
||||||
+ *Folder count*: **176**
|
+ *Folder count*: **176**
|
||||||
|
|
||||||
**280 Hours** or **35 Eight Hour Days** (the actual time the author spent)
|
**295 Hours** or **37 Eight Hour Days** (the actual time the author spent)
|
||||||
|
|
||||||
> (with the following break down:
|
> (with the following break down:
|
||||||
> **debugging @106hours** = codingtime / 4;
|
> **debugging @112hours** = codingtime / 4;
|
||||||
> **planning @61hours** = codingtime / 7;
|
> **planning @64hours** = codingtime / 7;
|
||||||
> **mapping @42hours** = codingtime / 10;
|
> **mapping @45hours** = codingtime / 10;
|
||||||
> **office @71hours** = codingtime / 6;)
|
> **office @75hours** = codingtime / 6;)
|
||||||
|
|
||||||
**705 Hours** or **88 Eight Hour Days**
|
**744 Hours** or **93 Eight Hour Days**
|
||||||
(a total of the realistic time frame for this project)
|
(a total of the realistic time frame for this project)
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||||
|
|
||||||
Project duration: **17.6 weeks** or **3.7 months**
|
Project duration: **18.6 weeks** or **3.9 months**
|
||||||
|
|
||||||
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
@ -1,4 +1,4 @@
|
|||||||
# eHealth Portal (1.0.5)
|
# eHealth Portal (3.0.0)
|
||||||
|
|
||||||
![eHealth Portal image](https://raw.githubusercontent.com/Namibia/eHealth-Portal/master/admin/assets/images/vdm-component.jpg "The eHealth Portal")
|
![eHealth Portal image](https://raw.githubusercontent.com/Namibia/eHealth-Portal/master/admin/assets/images/vdm-component.jpg "The eHealth Portal")
|
||||||
|
|
||||||
@ -6,42 +6,42 @@
|
|||||||
|
|
||||||
# Build Details
|
# Build Details
|
||||||
|
|
||||||
+ *Company*: [Vast Development Method](https://github.com/namibia/eHealth-Portal)
|
+ *Company*: [Vast Development Method](https://git.vdm.dev/joomla/eHealth-Portal)
|
||||||
+ *Author*: [Oh Martin](mailto:oh.martin@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [eHealth Portal](https://github.com/namibia/eHealth-Portal)
|
+ *Name*: [eHealth Portal](https://git.vdm.dev/joomla/eHealth-Portal)
|
||||||
+ *First Build*: 13th August, 2020
|
+ *First Build*: 19th January, 2024
|
||||||
+ *Last Build*: 24th April, 2021
|
+ *Last Build*: 19th January, 2024
|
||||||
+ *Version*: 1.0.5
|
+ *Version*: 3.0.0
|
||||||
+ *Copyright*: Copyright (C) 2020 Vast Development Method. All rights reserved.
|
+ *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
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
## Build Time
|
## Build Time
|
||||||
|
|
||||||
**425 Hours** or **53 Eight Hour Days** (actual time the author saved -
|
**449 Hours** or **56 Eight Hour Days** (actual time the author saved -
|
||||||
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
due to [Automated Component Builder](http://joomlacomponentbuilder.com))
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||||
> never making one mistake or taking any coffee break.)
|
> never making one mistake or taking any coffee break.)
|
||||||
|
|
||||||
+ *Line count*: **152325**
|
+ *Line count*: **160836**
|
||||||
+ *File count*: **1125**
|
+ *File count*: **1113**
|
||||||
+ *Folder count*: **176**
|
+ *Folder count*: **176**
|
||||||
|
|
||||||
**280 Hours** or **35 Eight Hour Days** (the actual time the author spent)
|
**295 Hours** or **37 Eight Hour Days** (the actual time the author spent)
|
||||||
|
|
||||||
> (with the following break down:
|
> (with the following break down:
|
||||||
> **debugging @106hours** = codingtime / 4;
|
> **debugging @112hours** = codingtime / 4;
|
||||||
> **planning @61hours** = codingtime / 7;
|
> **planning @64hours** = codingtime / 7;
|
||||||
> **mapping @42hours** = codingtime / 10;
|
> **mapping @45hours** = codingtime / 10;
|
||||||
> **office @71hours** = codingtime / 6;)
|
> **office @75hours** = codingtime / 6;)
|
||||||
|
|
||||||
**705 Hours** or **88 Eight Hour Days**
|
**744 Hours** or **93 Eight Hour Days**
|
||||||
(a total of the realistic time frame for this project)
|
(a total of the realistic time frame for this project)
|
||||||
|
|
||||||
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
|
||||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||||
|
|
||||||
Project duration: **17.6 weeks** or **3.7 months**
|
Project duration: **18.6 weeks** or **3.9 months**
|
||||||
|
|
||||||
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
733
admin/access.xml
733
admin/access.xml
@ -1,425 +1,414 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<access component="com_ehealth_portal">
|
<access component="com_ehealthportal">
|
||||||
<section name="component">
|
<section name="component">
|
||||||
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
|
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
|
||||||
<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />
|
<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />
|
||||||
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
|
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
|
||||||
<action name="core.export" title="COM_EHEALTH_PORTAL_EXPORT_DATA" description="COM_EHEALTH_PORTAL_EXPORT_DATA_DESC" />
|
<action name="core.export" title="COM_EHEALTHPORTAL_EXPORT_DATA" description="COM_EHEALTHPORTAL_EXPORT_DATA_DESC" />
|
||||||
<action name="core.import" title="COM_EHEALTH_PORTAL_IMPORT_DATA" description="COM_EHEALTH_PORTAL_IMPORT_DATA_DESC" />
|
<action name="core.import" title="COM_EHEALTHPORTAL_IMPORT_DATA" description="COM_EHEALTHPORTAL_IMPORT_DATA_DESC" />
|
||||||
<action name="core.batch" title="COM_EHEALTH_PORTAL_USE_BATCH" description="COM_EHEALTH_PORTAL_USE_BATCH_DESC" />
|
<action name="core.batch" title="COM_EHEALTHPORTAL_USE_BATCH" description="COM_EHEALTHPORTAL_USE_BATCH_DESC" />
|
||||||
<action name="core.version" title="COM_EHEALTH_PORTAL_EDIT_VERSIONS" description="COM_EHEALTH_PORTAL_EDIT_VERSIONS_DESC" />
|
<action name="core.version" title="COM_EHEALTHPORTAL_EDIT_VERSIONS" description="COM_EHEALTHPORTAL_EDIT_VERSIONS_DESC" />
|
||||||
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
|
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
|
||||||
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
|
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
|
||||||
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
|
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
|
||||||
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_ACCESS_EDITSTATE_DESC" />
|
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_ACCESS_EDITSTATE_DESC" />
|
||||||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
||||||
<action name="core.edit.created_by" title="COM_EHEALTH_PORTAL_EDIT_CREATED_BY" description="COM_EHEALTH_PORTAL_EDIT_CREATED_BY_DESC" />
|
<action name="core.edit.created_by" title="COM_EHEALTHPORTAL_EDIT_CREATED_BY" description="COM_EHEALTHPORTAL_EDIT_CREATED_BY_DESC" />
|
||||||
<action name="core.edit.created" title="COM_EHEALTH_PORTAL_EDIT_CREATED_DATE" description="COM_EHEALTH_PORTAL_EDIT_CREATED_DATE_DESC" />
|
<action name="core.edit.created" title="COM_EHEALTHPORTAL_EDIT_CREATED_DATE" description="COM_EHEALTHPORTAL_EDIT_CREATED_DATE_DESC" />
|
||||||
<action name="administration_part.access" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_ACCESS" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_ACCESS_DESC" />
|
<action name="administration_part.access" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_ACCESS" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_ACCESS_DESC" />
|
||||||
<action name="administration_part.batch" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_BATCH_USE" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_BATCH_USE_DESC" />
|
<action name="administration_part.batch" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_BATCH_USE" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_BATCH_USE_DESC" />
|
||||||
<action name="administration_part.edit.description" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION_DESC" />
|
<action name="administration_part.edit.description" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="administration_part.edit.name" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_NAME_DESC" />
|
<action name="administration_part.edit.name" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_NAME" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_NAME_DESC" />
|
||||||
<action name="administration_part.version" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_VERSION_DESC" />
|
<action name="administration_part.version" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_VERSION_DESC" />
|
||||||
<action name="administration_part.export" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EXPORT" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EXPORT_DESC" />
|
<action name="administration_part.export" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EXPORT" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EXPORT_DESC" />
|
||||||
<action name="administration_part.import" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_IMPORT" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_IMPORT_DESC" />
|
<action name="administration_part.import" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_IMPORT" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_IMPORT_DESC" />
|
||||||
<action name="administration_part.submenu" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_SUBMENU" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_SUBMENU_DESC" />
|
<action name="administration_part.submenu" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_SUBMENU" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_SUBMENU_DESC" />
|
||||||
<action name="antenatal_care.access" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_ACCESS" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_ACCESS_DESC" />
|
<action name="antenatal_care.access" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_ACCESS" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_ACCESS_DESC" />
|
||||||
<action name="antenatal_care.batch" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_BATCH_USE" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_BATCH_USE_DESC" />
|
<action name="antenatal_care.batch" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_BATCH_USE" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_BATCH_USE_DESC" />
|
||||||
<action name="antenatal_care.dashboard_add" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_DASHBOARD_ADD_DESC" />
|
<action name="antenatal_care.dashboard_add" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_DASHBOARD_ADD_DESC" />
|
||||||
<action name="antenatal_care.dashboard_list" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_DASHBOARD_LIST_DESC" />
|
<action name="antenatal_care.dashboard_list" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_DASHBOARD_LIST_DESC" />
|
||||||
<action name="antenatal_care.version" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EDIT_VERSION_DESC" />
|
<action name="antenatal_care.version" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_EDIT_VERSION" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_EDIT_VERSION_DESC" />
|
||||||
<action name="antenatal_care.export" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EXPORT" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EXPORT_DESC" />
|
<action name="antenatal_care.export" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_EXPORT" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_EXPORT_DESC" />
|
||||||
<action name="antenatal_care.import" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_IMPORT" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_IMPORT_DESC" />
|
<action name="antenatal_care.import" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_IMPORT" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_IMPORT_DESC" />
|
||||||
<action name="antenatal_care.submenu" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_SUBMENU" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_SUBMENU_DESC" />
|
<action name="antenatal_care.submenu" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_SUBMENU" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_SUBMENU_DESC" />
|
||||||
<action name="breast_cancer.access" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_ACCESS" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_ACCESS_DESC" />
|
<action name="breast_cancer.access" title="COM_EHEALTHPORTAL_BREAST_CANCERS_ACCESS" description="COM_EHEALTHPORTAL_BREAST_CANCERS_ACCESS_DESC" />
|
||||||
<action name="breast_cancer.batch" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_BATCH_USE" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_BATCH_USE_DESC" />
|
<action name="breast_cancer.batch" title="COM_EHEALTHPORTAL_BREAST_CANCERS_BATCH_USE" description="COM_EHEALTHPORTAL_BREAST_CANCERS_BATCH_USE_DESC" />
|
||||||
<action name="breast_cancer.dashboard_add" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_DASHBOARD_ADD_DESC" />
|
<action name="breast_cancer.dashboard_add" title="COM_EHEALTHPORTAL_BREAST_CANCERS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_BREAST_CANCERS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="breast_cancer.dashboard_list" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_DASHBOARD_LIST_DESC" />
|
<action name="breast_cancer.dashboard_list" title="COM_EHEALTHPORTAL_BREAST_CANCERS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_BREAST_CANCERS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="breast_cancer.version" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_EDIT_VERSION_DESC" />
|
<action name="breast_cancer.version" title="COM_EHEALTHPORTAL_BREAST_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_BREAST_CANCERS_EDIT_VERSION_DESC" />
|
||||||
<action name="breast_cancer.export" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_EXPORT" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_EXPORT_DESC" />
|
<action name="breast_cancer.export" title="COM_EHEALTHPORTAL_BREAST_CANCERS_EXPORT" description="COM_EHEALTHPORTAL_BREAST_CANCERS_EXPORT_DESC" />
|
||||||
<action name="breast_cancer.import" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_IMPORT" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_IMPORT_DESC" />
|
<action name="breast_cancer.import" title="COM_EHEALTHPORTAL_BREAST_CANCERS_IMPORT" description="COM_EHEALTHPORTAL_BREAST_CANCERS_IMPORT_DESC" />
|
||||||
<action name="breast_cancer.submenu" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_SUBMENU" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_SUBMENU_DESC" />
|
<action name="breast_cancer.submenu" title="COM_EHEALTHPORTAL_BREAST_CANCERS_SUBMENU" description="COM_EHEALTHPORTAL_BREAST_CANCERS_SUBMENU_DESC" />
|
||||||
<action name="cervical_cancer.access" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_ACCESS" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_ACCESS_DESC" />
|
<action name="cervical_cancer.access" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_ACCESS" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_ACCESS_DESC" />
|
||||||
<action name="cervical_cancer.batch" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_BATCH_USE" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_BATCH_USE_DESC" />
|
<action name="cervical_cancer.batch" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_BATCH_USE" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_BATCH_USE_DESC" />
|
||||||
<action name="cervical_cancer.dashboard_add" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_DASHBOARD_ADD_DESC" />
|
<action name="cervical_cancer.dashboard_add" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="cervical_cancer.dashboard_list" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_DASHBOARD_LIST_DESC" />
|
<action name="cervical_cancer.dashboard_list" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="cervical_cancer.version" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EDIT_VERSION_DESC" />
|
<action name="cervical_cancer.version" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EDIT_VERSION_DESC" />
|
||||||
<action name="cervical_cancer.export" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EXPORT" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EXPORT_DESC" />
|
<action name="cervical_cancer.export" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EXPORT" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EXPORT_DESC" />
|
||||||
<action name="cervical_cancer.import" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_IMPORT" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_IMPORT_DESC" />
|
<action name="cervical_cancer.import" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_IMPORT" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_IMPORT_DESC" />
|
||||||
<action name="cervical_cancer.submenu" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_SUBMENU" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_SUBMENU_DESC" />
|
<action name="cervical_cancer.submenu" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_SUBMENU" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_SUBMENU_DESC" />
|
||||||
<action name="clinic.access" title="COM_EHEALTH_PORTAL_CLINICS_ACCESS" description="COM_EHEALTH_PORTAL_CLINICS_ACCESS_DESC" />
|
<action name="clinic.access" title="COM_EHEALTHPORTAL_CLINICS_ACCESS" description="COM_EHEALTHPORTAL_CLINICS_ACCESS_DESC" />
|
||||||
<action name="clinic.batch" title="COM_EHEALTH_PORTAL_CLINICS_BATCH_USE" description="COM_EHEALTH_PORTAL_CLINICS_BATCH_USE_DESC" />
|
<action name="clinic.batch" title="COM_EHEALTHPORTAL_CLINICS_BATCH_USE" description="COM_EHEALTHPORTAL_CLINICS_BATCH_USE_DESC" />
|
||||||
<action name="clinic.edit.clinic_name" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_CLINIC_NAME" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_CLINIC_NAME_DESC" />
|
<action name="clinic.edit.clinic_name" title="COM_EHEALTHPORTAL_CLINICS_EDIT_CLINIC_NAME" description="COM_EHEALTHPORTAL_CLINICS_EDIT_CLINIC_NAME_DESC" />
|
||||||
<action name="clinic.edit.description" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_DESCRIPTION_DESC" />
|
<action name="clinic.edit.description" title="COM_EHEALTHPORTAL_CLINICS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_CLINICS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="clinic.version" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_VERSION_DESC" />
|
<action name="clinic.version" title="COM_EHEALTHPORTAL_CLINICS_EDIT_VERSION" description="COM_EHEALTHPORTAL_CLINICS_EDIT_VERSION_DESC" />
|
||||||
<action name="clinic.export" title="COM_EHEALTH_PORTAL_CLINICS_EXPORT" description="COM_EHEALTH_PORTAL_CLINICS_EXPORT_DESC" />
|
<action name="clinic.export" title="COM_EHEALTHPORTAL_CLINICS_EXPORT" description="COM_EHEALTHPORTAL_CLINICS_EXPORT_DESC" />
|
||||||
<action name="clinic.import" title="COM_EHEALTH_PORTAL_CLINICS_IMPORT" description="COM_EHEALTH_PORTAL_CLINICS_IMPORT_DESC" />
|
<action name="clinic.import" title="COM_EHEALTHPORTAL_CLINICS_IMPORT" description="COM_EHEALTHPORTAL_CLINICS_IMPORT_DESC" />
|
||||||
<action name="counseling_type.access" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_ACCESS_DESC" />
|
<action name="counseling_type.access" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_ACCESS" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_ACCESS_DESC" />
|
||||||
<action name="counseling_type.batch" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_BATCH_USE_DESC" />
|
<action name="counseling_type.batch" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="counseling_type.edit.description" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="counseling_type.edit.description" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="counseling_type.edit.name" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_NAME_DESC" />
|
<action name="counseling_type.edit.name" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="counseling_type.version" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_VERSION_DESC" />
|
<action name="counseling_type.version" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="counseling_type.export" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EXPORT_DESC" />
|
<action name="counseling_type.export" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EXPORT" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EXPORT_DESC" />
|
||||||
<action name="counseling_type.import" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_IMPORT_DESC" />
|
<action name="counseling_type.import" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_IMPORT" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_IMPORT_DESC" />
|
||||||
<action name="diagnosis_type.access" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_ACCESS_DESC" />
|
<action name="diagnosis_type.access" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_ACCESS" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_ACCESS_DESC" />
|
||||||
<action name="diagnosis_type.batch" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_BATCH_USE_DESC" />
|
<action name="diagnosis_type.batch" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="diagnosis_type.edit.description" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="diagnosis_type.edit.description" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="diagnosis_type.edit.name" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_NAME_DESC" />
|
<action name="diagnosis_type.edit.name" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="diagnosis_type.version" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_VERSION_DESC" />
|
<action name="diagnosis_type.version" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="diagnosis_type.export" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EXPORT_DESC" />
|
<action name="diagnosis_type.export" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EXPORT" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EXPORT_DESC" />
|
||||||
<action name="diagnosis_type.import" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_IMPORT_DESC" />
|
<action name="diagnosis_type.import" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_IMPORT" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_IMPORT_DESC" />
|
||||||
<action name="family_planning.access" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_ACCESS" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_ACCESS_DESC" />
|
<action name="family_planning.access" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_ACCESS" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_ACCESS_DESC" />
|
||||||
<action name="family_planning.batch" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_BATCH_USE" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_BATCH_USE_DESC" />
|
<action name="family_planning.batch" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_BATCH_USE" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_BATCH_USE_DESC" />
|
||||||
<action name="family_planning.dashboard_add" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_DASHBOARD_ADD_DESC" />
|
<action name="family_planning.dashboard_add" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="family_planning.dashboard_list" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_DASHBOARD_LIST_DESC" />
|
<action name="family_planning.dashboard_list" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="family_planning.edit.diagnosis" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS_DESC" />
|
<action name="family_planning.edit.diagnosis" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS_DESC" />
|
||||||
<action name="family_planning.version" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_VERSION_DESC" />
|
<action name="family_planning.version" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_VERSION_DESC" />
|
||||||
<action name="family_planning.export" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EXPORT" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EXPORT_DESC" />
|
<action name="family_planning.export" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EXPORT" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EXPORT_DESC" />
|
||||||
<action name="family_planning.import" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_IMPORT" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_IMPORT_DESC" />
|
<action name="family_planning.import" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_IMPORT" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_IMPORT_DESC" />
|
||||||
<action name="family_planning.submenu" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_SUBMENU" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_SUBMENU_DESC" />
|
<action name="family_planning.submenu" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_SUBMENU" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_SUBMENU_DESC" />
|
||||||
<action name="foetal_engagement.access" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_ACCESS" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_ACCESS_DESC" />
|
<action name="foetal_engagement.access" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_ACCESS" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_ACCESS_DESC" />
|
||||||
<action name="foetal_engagement.batch" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_BATCH_USE" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_BATCH_USE_DESC" />
|
<action name="foetal_engagement.batch" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_BATCH_USE" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_BATCH_USE_DESC" />
|
||||||
<action name="foetal_engagement.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_engagement.edit.description" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="foetal_engagement.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME_DESC" />
|
<action name="foetal_engagement.edit.name" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME_DESC" />
|
||||||
<action name="foetal_engagement.version" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION_DESC" />
|
<action name="foetal_engagement.version" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION_DESC" />
|
||||||
<action name="foetal_engagement.export" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EXPORT" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EXPORT_DESC" />
|
<action name="foetal_engagement.export" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EXPORT" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EXPORT_DESC" />
|
||||||
<action name="foetal_engagement.import" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_IMPORT" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_IMPORT_DESC" />
|
<action name="foetal_engagement.import" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_IMPORT" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_IMPORT_DESC" />
|
||||||
<action name="foetal_lie.access" title="COM_EHEALTH_PORTAL_FOETAL_LIES_ACCESS" description="COM_EHEALTH_PORTAL_FOETAL_LIES_ACCESS_DESC" />
|
<action name="foetal_lie.access" title="COM_EHEALTHPORTAL_FOETAL_LIES_ACCESS" description="COM_EHEALTHPORTAL_FOETAL_LIES_ACCESS_DESC" />
|
||||||
<action name="foetal_lie.batch" title="COM_EHEALTH_PORTAL_FOETAL_LIES_BATCH_USE" description="COM_EHEALTH_PORTAL_FOETAL_LIES_BATCH_USE_DESC" />
|
<action name="foetal_lie.batch" title="COM_EHEALTHPORTAL_FOETAL_LIES_BATCH_USE" description="COM_EHEALTHPORTAL_FOETAL_LIES_BATCH_USE_DESC" />
|
||||||
<action name="foetal_lie.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_lie.edit.description" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="foetal_lie.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_NAME_DESC" />
|
<action name="foetal_lie.edit.name" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_NAME_DESC" />
|
||||||
<action name="foetal_lie.version" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_VERSION_DESC" />
|
<action name="foetal_lie.version" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_VERSION_DESC" />
|
||||||
<action name="foetal_lie.export" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EXPORT" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EXPORT_DESC" />
|
<action name="foetal_lie.export" title="COM_EHEALTHPORTAL_FOETAL_LIES_EXPORT" description="COM_EHEALTHPORTAL_FOETAL_LIES_EXPORT_DESC" />
|
||||||
<action name="foetal_lie.import" title="COM_EHEALTH_PORTAL_FOETAL_LIES_IMPORT" description="COM_EHEALTH_PORTAL_FOETAL_LIES_IMPORT_DESC" />
|
<action name="foetal_lie.import" title="COM_EHEALTHPORTAL_FOETAL_LIES_IMPORT" description="COM_EHEALTHPORTAL_FOETAL_LIES_IMPORT_DESC" />
|
||||||
<action name="foetal_presentation.access" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_ACCESS" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_ACCESS_DESC" />
|
<action name="foetal_presentation.access" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_ACCESS" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_ACCESS_DESC" />
|
||||||
<action name="foetal_presentation.batch" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_BATCH_USE" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_BATCH_USE_DESC" />
|
<action name="foetal_presentation.batch" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_BATCH_USE" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_BATCH_USE_DESC" />
|
||||||
<action name="foetal_presentation.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_presentation.edit.description" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="foetal_presentation.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_NAME_DESC" />
|
<action name="foetal_presentation.edit.name" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_NAME_DESC" />
|
||||||
<action name="foetal_presentation.version" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION_DESC" />
|
<action name="foetal_presentation.version" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION_DESC" />
|
||||||
<action name="foetal_presentation.export" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EXPORT" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EXPORT_DESC" />
|
<action name="foetal_presentation.export" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EXPORT" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EXPORT_DESC" />
|
||||||
<action name="foetal_presentation.import" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_IMPORT" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_IMPORT_DESC" />
|
<action name="foetal_presentation.import" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_IMPORT" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_IMPORT_DESC" />
|
||||||
<action name="general_medical_check_up.access" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_ACCESS" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_ACCESS_DESC" />
|
<action name="general_medical_check_up.access" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_ACCESS" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_ACCESS_DESC" />
|
||||||
<action name="general_medical_check_up.batch" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_BATCH_USE" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_BATCH_USE_DESC" />
|
<action name="general_medical_check_up.batch" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_BATCH_USE" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_BATCH_USE_DESC" />
|
||||||
<action name="general_medical_check_up.dashboard_add" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_ADD_DESC" />
|
<action name="general_medical_check_up.dashboard_add" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="general_medical_check_up.dashboard_list" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_LIST_DESC" />
|
<action name="general_medical_check_up.dashboard_list" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="general_medical_check_up.edit.patient" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT_DESC" />
|
<action name="general_medical_check_up.edit.patient" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT_DESC" />
|
||||||
<action name="general_medical_check_up.version" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION_DESC" />
|
<action name="general_medical_check_up.version" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION_DESC" />
|
||||||
<action name="general_medical_check_up.export" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EXPORT" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EXPORT_DESC" />
|
<action name="general_medical_check_up.export" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EXPORT" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EXPORT_DESC" />
|
||||||
<action name="general_medical_check_up.import" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_IMPORT" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_IMPORT_DESC" />
|
<action name="general_medical_check_up.import" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_IMPORT" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_IMPORT_DESC" />
|
||||||
<action name="general_medical_check_up.submenu" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_SUBMENU" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_SUBMENU_DESC" />
|
<action name="general_medical_check_up.submenu" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_SUBMENU" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_SUBMENU_DESC" />
|
||||||
<action name="health_education_topic.access" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_ACCESS" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_ACCESS_DESC" />
|
<action name="health_education_topic.access" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_ACCESS" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_ACCESS_DESC" />
|
||||||
<action name="health_education_topic.batch" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_BATCH_USE" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_BATCH_USE_DESC" />
|
<action name="health_education_topic.batch" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_BATCH_USE" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_BATCH_USE_DESC" />
|
||||||
<action name="health_education_topic.edit.description" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION_DESC" />
|
<action name="health_education_topic.edit.description" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="health_education_topic.edit.name" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME_DESC" />
|
<action name="health_education_topic.edit.name" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME_DESC" />
|
||||||
<action name="health_education_topic.version" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION_DESC" />
|
<action name="health_education_topic.version" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION_DESC" />
|
||||||
<action name="health_education_topic.export" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EXPORT" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EXPORT_DESC" />
|
<action name="health_education_topic.export" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EXPORT" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EXPORT_DESC" />
|
||||||
<action name="health_education_topic.import" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_IMPORT" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_IMPORT_DESC" />
|
<action name="health_education_topic.import" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_IMPORT" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_IMPORT_DESC" />
|
||||||
<action name="health_education.access" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_ACCESS" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_ACCESS_DESC" />
|
<action name="health_education.access" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_ACCESS" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_ACCESS_DESC" />
|
||||||
<action name="health_education.batch" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_BATCH_USE" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_BATCH_USE_DESC" />
|
<action name="health_education.batch" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_BATCH_USE" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_BATCH_USE_DESC" />
|
||||||
<action name="health_education.dashboard_add" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_DASHBOARD_ADD_DESC" />
|
<action name="health_education.dashboard_add" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="health_education.dashboard_list" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_DASHBOARD_LIST_DESC" />
|
<action name="health_education.dashboard_list" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="health_education.edit.health_education_topic" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC_DESC" />
|
<action name="health_education.edit.health_education_topic" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC_DESC" />
|
||||||
<action name="health_education.version" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_VERSION_DESC" />
|
<action name="health_education.version" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_VERSION_DESC" />
|
||||||
<action name="health_education.export" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EXPORT" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EXPORT_DESC" />
|
<action name="health_education.export" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EXPORT" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EXPORT_DESC" />
|
||||||
<action name="health_education.import" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_IMPORT" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_IMPORT_DESC" />
|
<action name="health_education.import" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_IMPORT" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_IMPORT_DESC" />
|
||||||
<action name="health_education.submenu" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_SUBMENU" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_SUBMENU_DESC" />
|
<action name="health_education.submenu" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_SUBMENU" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_SUBMENU_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.access" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_ACCESS" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_ACCESS_DESC" />
|
<action name="hiv_counseling_and_testing.access" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_ACCESS" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_ACCESS_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.batch" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_BATCH_USE" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_BATCH_USE_DESC" />
|
<action name="hiv_counseling_and_testing.batch" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_BATCH_USE" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_BATCH_USE_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.dashboard_add" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_ADD_DESC" />
|
<action name="hiv_counseling_and_testing.dashboard_add" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.dashboard_list" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_LIST_DESC" />
|
<action name="hiv_counseling_and_testing.dashboard_list" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.version" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION_DESC" />
|
<action name="hiv_counseling_and_testing.version" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.export" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EXPORT" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EXPORT_DESC" />
|
<action name="hiv_counseling_and_testing.export" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EXPORT" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EXPORT_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.import" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_IMPORT" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_IMPORT_DESC" />
|
<action name="hiv_counseling_and_testing.import" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_IMPORT" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_IMPORT_DESC" />
|
||||||
<action name="hiv_counseling_and_testing.submenu" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_SUBMENU" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_SUBMENU_DESC" />
|
<action name="hiv_counseling_and_testing.submenu" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_SUBMENU" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_SUBMENU_DESC" />
|
||||||
<action name="immunisation_type.access" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_ACCESS_DESC" />
|
<action name="immunisation_type.access" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_ACCESS" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_ACCESS_DESC" />
|
||||||
<action name="immunisation_type.batch" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_BATCH_USE_DESC" />
|
<action name="immunisation_type.batch" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="immunisation_type.edit.description" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="immunisation_type.edit.description" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="immunisation_type.edit.name" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_NAME_DESC" />
|
<action name="immunisation_type.edit.name" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="immunisation_type.version" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_VERSION_DESC" />
|
<action name="immunisation_type.version" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="immunisation_type.export" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EXPORT_DESC" />
|
<action name="immunisation_type.export" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EXPORT" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EXPORT_DESC" />
|
||||||
<action name="immunisation_type.import" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_IMPORT_DESC" />
|
<action name="immunisation_type.import" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_IMPORT" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_IMPORT_DESC" />
|
||||||
<action name="immunisation_vaccine_type.access" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_ACCESS_DESC" />
|
<action name="immunisation_type.submenu" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_SUBMENU" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_SUBMENU_DESC" />
|
||||||
<action name="immunisation_vaccine_type.batch" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_BATCH_USE_DESC" />
|
<action name="immunisation_vaccine_type.access" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_ACCESS" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_ACCESS_DESC" />
|
||||||
<action name="immunisation_vaccine_type.edit.description" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="immunisation_vaccine_type.batch" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="immunisation_vaccine_type.edit.name" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME_DESC" />
|
<action name="immunisation_vaccine_type.edit.description" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="immunisation_vaccine_type.version" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION_DESC" />
|
<action name="immunisation_vaccine_type.edit.name" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="immunisation_vaccine_type.export" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EXPORT_DESC" />
|
<action name="immunisation_vaccine_type.version" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="immunisation_vaccine_type.import" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_IMPORT_DESC" />
|
<action name="immunisation_vaccine_type.export" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EXPORT" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EXPORT_DESC" />
|
||||||
<action name="immunisation_vaccine_type.submenu" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_SUBMENU" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_SUBMENU_DESC" />
|
<action name="immunisation_vaccine_type.import" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_IMPORT" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_IMPORT_DESC" />
|
||||||
<action name="immunisation.access" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_ACCESS" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_ACCESS_DESC" />
|
<action name="immunisation_vaccine_type.submenu" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_SUBMENU" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_SUBMENU_DESC" />
|
||||||
<action name="immunisation.batch" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_BATCH_USE" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_BATCH_USE_DESC" />
|
<action name="immunisation.access" title="COM_EHEALTHPORTAL_IMMUNISATIONS_ACCESS" description="COM_EHEALTHPORTAL_IMMUNISATIONS_ACCESS_DESC" />
|
||||||
<action name="immunisation.dashboard_add" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_DASHBOARD_ADD_DESC" />
|
<action name="immunisation.batch" title="COM_EHEALTHPORTAL_IMMUNISATIONS_BATCH_USE" description="COM_EHEALTHPORTAL_IMMUNISATIONS_BATCH_USE_DESC" />
|
||||||
<action name="immunisation.dashboard_list" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_DASHBOARD_LIST_DESC" />
|
<action name="immunisation.dashboard_add" title="COM_EHEALTHPORTAL_IMMUNISATIONS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_IMMUNISATIONS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="immunisation.edit.patient" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_PATIENT_DESC" />
|
<action name="immunisation.dashboard_list" title="COM_EHEALTHPORTAL_IMMUNISATIONS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_IMMUNISATIONS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="immunisation.version" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_VERSION_DESC" />
|
<action name="immunisation.edit.patient" title="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_PATIENT_DESC" />
|
||||||
<action name="immunisation.export" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_EXPORT" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_EXPORT_DESC" />
|
<action name="immunisation.version" title="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_VERSION_DESC" />
|
||||||
<action name="immunisation.import" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_IMPORT" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_IMPORT_DESC" />
|
<action name="immunisation.export" title="COM_EHEALTHPORTAL_IMMUNISATIONS_EXPORT" description="COM_EHEALTHPORTAL_IMMUNISATIONS_EXPORT_DESC" />
|
||||||
<action name="immunisation.submenu" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_SUBMENU" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_SUBMENU_DESC" />
|
<action name="immunisation.import" title="COM_EHEALTHPORTAL_IMMUNISATIONS_IMPORT" description="COM_EHEALTHPORTAL_IMMUNISATIONS_IMPORT_DESC" />
|
||||||
<action name="medication.access" title="COM_EHEALTH_PORTAL_MEDICATIONS_ACCESS" description="COM_EHEALTH_PORTAL_MEDICATIONS_ACCESS_DESC" />
|
<action name="immunisation.submenu" title="COM_EHEALTHPORTAL_IMMUNISATIONS_SUBMENU" description="COM_EHEALTHPORTAL_IMMUNISATIONS_SUBMENU_DESC" />
|
||||||
<action name="medication.batch" title="COM_EHEALTH_PORTAL_MEDICATIONS_BATCH_USE" description="COM_EHEALTH_PORTAL_MEDICATIONS_BATCH_USE_DESC" />
|
<action name="medication.access" title="COM_EHEALTHPORTAL_MEDICATIONS_ACCESS" description="COM_EHEALTHPORTAL_MEDICATIONS_ACCESS_DESC" />
|
||||||
<action name="medication.edit.description" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_DESCRIPTION_DESC" />
|
<action name="medication.batch" title="COM_EHEALTHPORTAL_MEDICATIONS_BATCH_USE" description="COM_EHEALTHPORTAL_MEDICATIONS_BATCH_USE_DESC" />
|
||||||
<action name="medication.edit.name" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_NAME_DESC" />
|
<action name="medication.edit.description" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="medication.version" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_VERSION_DESC" />
|
<action name="medication.edit.name" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_NAME" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_NAME_DESC" />
|
||||||
<action name="medication.export" title="COM_EHEALTH_PORTAL_MEDICATIONS_EXPORT" description="COM_EHEALTH_PORTAL_MEDICATIONS_EXPORT_DESC" />
|
<action name="medication.version" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_VERSION_DESC" />
|
||||||
<action name="medication.import" title="COM_EHEALTH_PORTAL_MEDICATIONS_IMPORT" description="COM_EHEALTH_PORTAL_MEDICATIONS_IMPORT_DESC" />
|
<action name="medication.export" title="COM_EHEALTHPORTAL_MEDICATIONS_EXPORT" description="COM_EHEALTHPORTAL_MEDICATIONS_EXPORT_DESC" />
|
||||||
<action name="medication.submenu" title="COM_EHEALTH_PORTAL_MEDICATIONS_SUBMENU" description="COM_EHEALTH_PORTAL_MEDICATIONS_SUBMENU_DESC" />
|
<action name="medication.import" title="COM_EHEALTHPORTAL_MEDICATIONS_IMPORT" description="COM_EHEALTHPORTAL_MEDICATIONS_IMPORT_DESC" />
|
||||||
<action name="nonpay_reason.access" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_ACCESS" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_ACCESS_DESC" />
|
<action name="medication.submenu" title="COM_EHEALTHPORTAL_MEDICATIONS_SUBMENU" description="COM_EHEALTHPORTAL_MEDICATIONS_SUBMENU_DESC" />
|
||||||
<action name="nonpay_reason.batch" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_BATCH_USE" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_BATCH_USE_DESC" />
|
<action name="nonpay_reason.access" title="COM_EHEALTHPORTAL_NONPAY_REASONS_ACCESS" description="COM_EHEALTHPORTAL_NONPAY_REASONS_ACCESS_DESC" />
|
||||||
<action name="nonpay_reason.edit.description" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_DESCRIPTION_DESC" />
|
<action name="nonpay_reason.batch" title="COM_EHEALTHPORTAL_NONPAY_REASONS_BATCH_USE" description="COM_EHEALTHPORTAL_NONPAY_REASONS_BATCH_USE_DESC" />
|
||||||
<action name="nonpay_reason.edit.name" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_NAME_DESC" />
|
<action name="nonpay_reason.edit.description" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="nonpay_reason.version" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_VERSION_DESC" />
|
<action name="nonpay_reason.edit.name" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_NAME" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_NAME_DESC" />
|
||||||
<action name="nonpay_reason.export" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EXPORT" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EXPORT_DESC" />
|
<action name="nonpay_reason.version" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_VERSION_DESC" />
|
||||||
<action name="nonpay_reason.import" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_IMPORT" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_IMPORT_DESC" />
|
<action name="nonpay_reason.export" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EXPORT" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EXPORT_DESC" />
|
||||||
<action name="patient_queue.access" title="COM_EHEALTH_PORTAL_PATIENT_QUEUE_ACCESS" description="COM_EHEALTH_PORTAL_PATIENT_QUEUE_ACCESS_DESC" />
|
<action name="nonpay_reason.import" title="COM_EHEALTHPORTAL_NONPAY_REASONS_IMPORT" description="COM_EHEALTHPORTAL_NONPAY_REASONS_IMPORT_DESC" />
|
||||||
<action name="patient_queue.dashboard_list" title="COM_EHEALTH_PORTAL_PATIENT_QUEUE_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_PATIENT_QUEUE_DASHBOARD_LIST_DESC" />
|
<action name="patient_queue.access" title="COM_EHEALTHPORTAL_PATIENT_QUEUE_ACCESS" description="COM_EHEALTHPORTAL_PATIENT_QUEUE_ACCESS_DESC" />
|
||||||
<action name="patient_queue.submenu" title="COM_EHEALTH_PORTAL_PATIENT_QUEUE_SUBMENU" description="COM_EHEALTH_PORTAL_PATIENT_QUEUE_SUBMENU_DESC" />
|
<action name="patient_queue.dashboard_list" title="COM_EHEALTHPORTAL_PATIENT_QUEUE_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_PATIENT_QUEUE_DASHBOARD_LIST_DESC" />
|
||||||
<action name="payment_amount.access" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_ACCESS" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_ACCESS_DESC" />
|
<action name="patient_queue.submenu" title="COM_EHEALTHPORTAL_PATIENT_QUEUE_SUBMENU" description="COM_EHEALTHPORTAL_PATIENT_QUEUE_SUBMENU_DESC" />
|
||||||
<action name="payment_amount.batch" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_BATCH_USE" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_BATCH_USE_DESC" />
|
<action name="payment_type.access" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_ACCESS" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_ACCESS_DESC" />
|
||||||
<action name="payment_amount.edit.description" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_DESCRIPTION_DESC" />
|
<action name="payment_type.batch" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="payment_amount.edit.name" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_NAME_DESC" />
|
<action name="payment_type.edit.description" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="payment_amount.version" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_VERSION_DESC" />
|
<action name="payment_type.edit.name" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="payment_amount.export" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EXPORT" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EXPORT_DESC" />
|
<action name="payment_type.version" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="payment_amount.import" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_IMPORT" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_IMPORT_DESC" />
|
<action name="payment_type.export" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EXPORT" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EXPORT_DESC" />
|
||||||
<action name="payment_type.access" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_ACCESS_DESC" />
|
<action name="payment_type.import" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_IMPORT" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_IMPORT_DESC" />
|
||||||
<action name="payment_type.batch" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_BATCH_USE_DESC" />
|
<action name="payment.access" title="COM_EHEALTHPORTAL_PAYMENTS_ACCESS" description="COM_EHEALTHPORTAL_PAYMENTS_ACCESS_DESC" />
|
||||||
<action name="payment_type.edit.description" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="payment.batch" title="COM_EHEALTHPORTAL_PAYMENTS_BATCH_USE" description="COM_EHEALTHPORTAL_PAYMENTS_BATCH_USE_DESC" />
|
||||||
<action name="payment_type.edit.name" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_NAME_DESC" />
|
<action name="payment.dashboard_add" title="COM_EHEALTHPORTAL_PAYMENTS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_PAYMENTS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="payment_type.version" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_VERSION_DESC" />
|
<action name="payment.dashboard_list" title="COM_EHEALTHPORTAL_PAYMENTS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_PAYMENTS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="payment_type.export" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EXPORT_DESC" />
|
<action name="payment.edit.patient" title="COM_EHEALTHPORTAL_PAYMENTS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_PAYMENTS_EDIT_PATIENT_DESC" />
|
||||||
<action name="payment_type.import" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_IMPORT_DESC" />
|
<action name="payment.version" title="COM_EHEALTHPORTAL_PAYMENTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_PAYMENTS_EDIT_VERSION_DESC" />
|
||||||
<action name="payment.access" title="COM_EHEALTH_PORTAL_PAYMENTS_ACCESS" description="COM_EHEALTH_PORTAL_PAYMENTS_ACCESS_DESC" />
|
<action name="payment.export" title="COM_EHEALTHPORTAL_PAYMENTS_EXPORT" description="COM_EHEALTHPORTAL_PAYMENTS_EXPORT_DESC" />
|
||||||
<action name="payment.batch" title="COM_EHEALTH_PORTAL_PAYMENTS_BATCH_USE" description="COM_EHEALTH_PORTAL_PAYMENTS_BATCH_USE_DESC" />
|
<action name="payment.import" title="COM_EHEALTHPORTAL_PAYMENTS_IMPORT" description="COM_EHEALTHPORTAL_PAYMENTS_IMPORT_DESC" />
|
||||||
<action name="payment.dashboard_add" title="COM_EHEALTH_PORTAL_PAYMENTS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_PAYMENTS_DASHBOARD_ADD_DESC" />
|
<action name="payment.submenu" title="COM_EHEALTHPORTAL_PAYMENTS_SUBMENU" description="COM_EHEALTHPORTAL_PAYMENTS_SUBMENU_DESC" />
|
||||||
<action name="payment.dashboard_list" title="COM_EHEALTH_PORTAL_PAYMENTS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_PAYMENTS_DASHBOARD_LIST_DESC" />
|
<action name="planning_type.access" title="COM_EHEALTHPORTAL_PLANNING_TYPES_ACCESS" description="COM_EHEALTHPORTAL_PLANNING_TYPES_ACCESS_DESC" />
|
||||||
<action name="payment.edit.patient" title="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_PATIENT_DESC" />
|
<action name="planning_type.batch" title="COM_EHEALTHPORTAL_PLANNING_TYPES_BATCH_USE" description="COM_EHEALTHPORTAL_PLANNING_TYPES_BATCH_USE_DESC" />
|
||||||
<action name="payment.version" title="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_VERSION_DESC" />
|
<action name="planning_type.edit.description" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="payment.export" title="COM_EHEALTH_PORTAL_PAYMENTS_EXPORT" description="COM_EHEALTH_PORTAL_PAYMENTS_EXPORT_DESC" />
|
<action name="planning_type.edit.name" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="payment.import" title="COM_EHEALTH_PORTAL_PAYMENTS_IMPORT" description="COM_EHEALTH_PORTAL_PAYMENTS_IMPORT_DESC" />
|
<action name="planning_type.version" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_VERSION_DESC" />
|
||||||
<action name="payment.submenu" title="COM_EHEALTH_PORTAL_PAYMENTS_SUBMENU" description="COM_EHEALTH_PORTAL_PAYMENTS_SUBMENU_DESC" />
|
<action name="planning_type.export" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EXPORT" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EXPORT_DESC" />
|
||||||
<action name="planning_type.access" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_ACCESS" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_ACCESS_DESC" />
|
<action name="planning_type.import" title="COM_EHEALTHPORTAL_PLANNING_TYPES_IMPORT" description="COM_EHEALTHPORTAL_PLANNING_TYPES_IMPORT_DESC" />
|
||||||
<action name="planning_type.batch" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_BATCH_USE" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_BATCH_USE_DESC" />
|
<action name="prostate_and_testicular_cancer.access" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_ACCESS" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_ACCESS_DESC" />
|
||||||
<action name="planning_type.edit.description" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="prostate_and_testicular_cancer.batch" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_BATCH_USE" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_BATCH_USE_DESC" />
|
||||||
<action name="planning_type.edit.name" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_NAME_DESC" />
|
<action name="prostate_and_testicular_cancer.dashboard_add" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="planning_type.version" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_VERSION_DESC" />
|
<action name="prostate_and_testicular_cancer.dashboard_list" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="planning_type.export" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EXPORT" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EXPORT_DESC" />
|
<action name="prostate_and_testicular_cancer.version" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION_DESC" />
|
||||||
<action name="planning_type.import" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_IMPORT" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_IMPORT_DESC" />
|
<action name="prostate_and_testicular_cancer.export" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EXPORT" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EXPORT_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.access" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_ACCESS" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_ACCESS_DESC" />
|
<action name="prostate_and_testicular_cancer.import" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_IMPORT" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_IMPORT_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.batch" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_BATCH_USE" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_BATCH_USE_DESC" />
|
<action name="prostate_and_testicular_cancer.submenu" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_SUBMENU" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_SUBMENU_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.dashboard_add" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_ADD_DESC" />
|
<action name="referral.access" title="COM_EHEALTHPORTAL_REFERRALS_ACCESS" description="COM_EHEALTHPORTAL_REFERRALS_ACCESS_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.dashboard_list" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_DASHBOARD_LIST_DESC" />
|
<action name="referral.batch" title="COM_EHEALTHPORTAL_REFERRALS_BATCH_USE" description="COM_EHEALTHPORTAL_REFERRALS_BATCH_USE_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.version" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION_DESC" />
|
<action name="referral.edit.description" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.export" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EXPORT" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EXPORT_DESC" />
|
<action name="referral.edit.name" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_NAME" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_NAME_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.import" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_IMPORT" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_IMPORT_DESC" />
|
<action name="referral.version" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_VERSION" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_VERSION_DESC" />
|
||||||
<action name="prostate_and_testicular_cancer.submenu" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_SUBMENU" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_SUBMENU_DESC" />
|
<action name="referral.export" title="COM_EHEALTHPORTAL_REFERRALS_EXPORT" description="COM_EHEALTHPORTAL_REFERRALS_EXPORT_DESC" />
|
||||||
<action name="referral.access" title="COM_EHEALTH_PORTAL_REFERRALS_ACCESS" description="COM_EHEALTH_PORTAL_REFERRALS_ACCESS_DESC" />
|
<action name="referral.import" title="COM_EHEALTHPORTAL_REFERRALS_IMPORT" description="COM_EHEALTHPORTAL_REFERRALS_IMPORT_DESC" />
|
||||||
<action name="referral.batch" title="COM_EHEALTH_PORTAL_REFERRALS_BATCH_USE" description="COM_EHEALTH_PORTAL_REFERRALS_BATCH_USE_DESC" />
|
<action name="referral.submenu" title="COM_EHEALTHPORTAL_REFERRALS_SUBMENU" description="COM_EHEALTHPORTAL_REFERRALS_SUBMENU_DESC" />
|
||||||
<action name="referral.edit.description" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_DESCRIPTION_DESC" />
|
<action name="site.access" title="COM_EHEALTHPORTAL_SITES_ACCESS" description="COM_EHEALTHPORTAL_SITES_ACCESS_DESC" />
|
||||||
<action name="referral.edit.name" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_NAME" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_NAME_DESC" />
|
<action name="site.batch" title="COM_EHEALTHPORTAL_SITES_BATCH_USE" description="COM_EHEALTHPORTAL_SITES_BATCH_USE_DESC" />
|
||||||
<action name="referral.version" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_VERSION_DESC" />
|
<action name="site.edit.description" title="COM_EHEALTHPORTAL_SITES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_SITES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="referral.export" title="COM_EHEALTH_PORTAL_REFERRALS_EXPORT" description="COM_EHEALTH_PORTAL_REFERRALS_EXPORT_DESC" />
|
<action name="site.edit.site_name" title="COM_EHEALTHPORTAL_SITES_EDIT_SITE_NAME" description="COM_EHEALTHPORTAL_SITES_EDIT_SITE_NAME_DESC" />
|
||||||
<action name="referral.import" title="COM_EHEALTH_PORTAL_REFERRALS_IMPORT" description="COM_EHEALTH_PORTAL_REFERRALS_IMPORT_DESC" />
|
<action name="site.edit.site_region" title="COM_EHEALTHPORTAL_SITES_EDIT_SITE_REGION" description="COM_EHEALTHPORTAL_SITES_EDIT_SITE_REGION_DESC" />
|
||||||
<action name="referral.submenu" title="COM_EHEALTH_PORTAL_REFERRALS_SUBMENU" description="COM_EHEALTH_PORTAL_REFERRALS_SUBMENU_DESC" />
|
<action name="site.version" title="COM_EHEALTHPORTAL_SITES_EDIT_VERSION" description="COM_EHEALTHPORTAL_SITES_EDIT_VERSION_DESC" />
|
||||||
<action name="site.access" title="COM_EHEALTH_PORTAL_SITES_ACCESS" description="COM_EHEALTH_PORTAL_SITES_ACCESS_DESC" />
|
<action name="site.export" title="COM_EHEALTHPORTAL_SITES_EXPORT" description="COM_EHEALTHPORTAL_SITES_EXPORT_DESC" />
|
||||||
<action name="site.batch" title="COM_EHEALTH_PORTAL_SITES_BATCH_USE" description="COM_EHEALTH_PORTAL_SITES_BATCH_USE_DESC" />
|
<action name="site.import" title="COM_EHEALTHPORTAL_SITES_IMPORT" description="COM_EHEALTHPORTAL_SITES_IMPORT_DESC" />
|
||||||
<action name="site.edit.description" title="COM_EHEALTH_PORTAL_SITES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_SITES_EDIT_DESCRIPTION_DESC" />
|
<action name="strength.access" title="COM_EHEALTHPORTAL_STRENGTHS_ACCESS" description="COM_EHEALTHPORTAL_STRENGTHS_ACCESS_DESC" />
|
||||||
<action name="site.edit.site_name" title="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_NAME" description="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_NAME_DESC" />
|
<action name="strength.batch" title="COM_EHEALTHPORTAL_STRENGTHS_BATCH_USE" description="COM_EHEALTHPORTAL_STRENGTHS_BATCH_USE_DESC" />
|
||||||
<action name="site.edit.site_region" title="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_REGION" description="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_REGION_DESC" />
|
<action name="strength.edit.description" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="site.version" title="COM_EHEALTH_PORTAL_SITES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_SITES_EDIT_VERSION_DESC" />
|
<action name="strength.edit.name" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_NAME" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_NAME_DESC" />
|
||||||
<action name="site.export" title="COM_EHEALTH_PORTAL_SITES_EXPORT" description="COM_EHEALTH_PORTAL_SITES_EXPORT_DESC" />
|
<action name="strength.version" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_VERSION" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_VERSION_DESC" />
|
||||||
<action name="site.import" title="COM_EHEALTH_PORTAL_SITES_IMPORT" description="COM_EHEALTH_PORTAL_SITES_IMPORT_DESC" />
|
<action name="strength.export" title="COM_EHEALTHPORTAL_STRENGTHS_EXPORT" description="COM_EHEALTHPORTAL_STRENGTHS_EXPORT_DESC" />
|
||||||
<action name="strength.access" title="COM_EHEALTH_PORTAL_STRENGTHS_ACCESS" description="COM_EHEALTH_PORTAL_STRENGTHS_ACCESS_DESC" />
|
<action name="strength.import" title="COM_EHEALTHPORTAL_STRENGTHS_IMPORT" description="COM_EHEALTHPORTAL_STRENGTHS_IMPORT_DESC" />
|
||||||
<action name="strength.batch" title="COM_EHEALTH_PORTAL_STRENGTHS_BATCH_USE" description="COM_EHEALTH_PORTAL_STRENGTHS_BATCH_USE_DESC" />
|
<action name="strength.submenu" title="COM_EHEALTHPORTAL_STRENGTHS_SUBMENU" description="COM_EHEALTHPORTAL_STRENGTHS_SUBMENU_DESC" />
|
||||||
<action name="strength.edit.description" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_DESCRIPTION_DESC" />
|
<action name="testing_reason.access" title="COM_EHEALTHPORTAL_TESTING_REASONS_ACCESS" description="COM_EHEALTHPORTAL_TESTING_REASONS_ACCESS_DESC" />
|
||||||
<action name="strength.edit.name" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_NAME" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_NAME_DESC" />
|
<action name="testing_reason.batch" title="COM_EHEALTHPORTAL_TESTING_REASONS_BATCH_USE" description="COM_EHEALTHPORTAL_TESTING_REASONS_BATCH_USE_DESC" />
|
||||||
<action name="strength.version" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_VERSION_DESC" />
|
<action name="testing_reason.edit.description" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="strength.export" title="COM_EHEALTH_PORTAL_STRENGTHS_EXPORT" description="COM_EHEALTH_PORTAL_STRENGTHS_EXPORT_DESC" />
|
<action name="testing_reason.edit.name" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_NAME" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_NAME_DESC" />
|
||||||
<action name="strength.import" title="COM_EHEALTH_PORTAL_STRENGTHS_IMPORT" description="COM_EHEALTH_PORTAL_STRENGTHS_IMPORT_DESC" />
|
<action name="testing_reason.version" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_VERSION_DESC" />
|
||||||
<action name="strength.submenu" title="COM_EHEALTH_PORTAL_STRENGTHS_SUBMENU" description="COM_EHEALTH_PORTAL_STRENGTHS_SUBMENU_DESC" />
|
<action name="testing_reason.export" title="COM_EHEALTHPORTAL_TESTING_REASONS_EXPORT" description="COM_EHEALTHPORTAL_TESTING_REASONS_EXPORT_DESC" />
|
||||||
<action name="testing_reason.access" title="COM_EHEALTH_PORTAL_TESTING_REASONS_ACCESS" description="COM_EHEALTH_PORTAL_TESTING_REASONS_ACCESS_DESC" />
|
<action name="testing_reason.import" title="COM_EHEALTHPORTAL_TESTING_REASONS_IMPORT" description="COM_EHEALTHPORTAL_TESTING_REASONS_IMPORT_DESC" />
|
||||||
<action name="testing_reason.batch" title="COM_EHEALTH_PORTAL_TESTING_REASONS_BATCH_USE" description="COM_EHEALTH_PORTAL_TESTING_REASONS_BATCH_USE_DESC" />
|
<action name="test.access" title="COM_EHEALTHPORTAL_TESTS_ACCESS" description="COM_EHEALTHPORTAL_TESTS_ACCESS_DESC" />
|
||||||
<action name="testing_reason.edit.description" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_DESCRIPTION_DESC" />
|
<action name="test.batch" title="COM_EHEALTHPORTAL_TESTS_BATCH_USE" description="COM_EHEALTHPORTAL_TESTS_BATCH_USE_DESC" />
|
||||||
<action name="testing_reason.edit.name" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_NAME_DESC" />
|
<action name="test.dashboard_add" title="COM_EHEALTHPORTAL_TESTS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_TESTS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="testing_reason.version" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_VERSION_DESC" />
|
<action name="test.dashboard_list" title="COM_EHEALTHPORTAL_TESTS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_TESTS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="testing_reason.export" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EXPORT" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EXPORT_DESC" />
|
<action name="test.version" title="COM_EHEALTHPORTAL_TESTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_TESTS_EDIT_VERSION_DESC" />
|
||||||
<action name="testing_reason.import" title="COM_EHEALTH_PORTAL_TESTING_REASONS_IMPORT" description="COM_EHEALTH_PORTAL_TESTING_REASONS_IMPORT_DESC" />
|
<action name="test.export" title="COM_EHEALTHPORTAL_TESTS_EXPORT" description="COM_EHEALTHPORTAL_TESTS_EXPORT_DESC" />
|
||||||
<action name="test.access" title="COM_EHEALTH_PORTAL_TESTS_ACCESS" description="COM_EHEALTH_PORTAL_TESTS_ACCESS_DESC" />
|
<action name="test.import" title="COM_EHEALTHPORTAL_TESTS_IMPORT" description="COM_EHEALTHPORTAL_TESTS_IMPORT_DESC" />
|
||||||
<action name="test.batch" title="COM_EHEALTH_PORTAL_TESTS_BATCH_USE" description="COM_EHEALTH_PORTAL_TESTS_BATCH_USE_DESC" />
|
<action name="test.submenu" title="COM_EHEALTHPORTAL_TESTS_SUBMENU" description="COM_EHEALTHPORTAL_TESTS_SUBMENU_DESC" />
|
||||||
<action name="test.dashboard_add" title="COM_EHEALTH_PORTAL_TESTS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_TESTS_DASHBOARD_ADD_DESC" />
|
<action name="tuberculosis.access" title="COM_EHEALTHPORTAL_TUBERCULOSES_ACCESS" description="COM_EHEALTHPORTAL_TUBERCULOSES_ACCESS_DESC" />
|
||||||
<action name="test.dashboard_list" title="COM_EHEALTH_PORTAL_TESTS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_TESTS_DASHBOARD_LIST_DESC" />
|
<action name="tuberculosis.batch" title="COM_EHEALTHPORTAL_TUBERCULOSES_BATCH_USE" description="COM_EHEALTHPORTAL_TUBERCULOSES_BATCH_USE_DESC" />
|
||||||
<action name="test.version" title="COM_EHEALTH_PORTAL_TESTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TESTS_EDIT_VERSION_DESC" />
|
<action name="tuberculosis.dashboard_add" title="COM_EHEALTHPORTAL_TUBERCULOSES_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_TUBERCULOSES_DASHBOARD_ADD_DESC" />
|
||||||
<action name="test.export" title="COM_EHEALTH_PORTAL_TESTS_EXPORT" description="COM_EHEALTH_PORTAL_TESTS_EXPORT_DESC" />
|
<action name="tuberculosis.dashboard_list" title="COM_EHEALTHPORTAL_TUBERCULOSES_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_TUBERCULOSES_DASHBOARD_LIST_DESC" />
|
||||||
<action name="test.import" title="COM_EHEALTH_PORTAL_TESTS_IMPORT" description="COM_EHEALTH_PORTAL_TESTS_IMPORT_DESC" />
|
<action name="tuberculosis.edit.patient" title="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_PATIENT" description="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_PATIENT_DESC" />
|
||||||
<action name="test.submenu" title="COM_EHEALTH_PORTAL_TESTS_SUBMENU" description="COM_EHEALTH_PORTAL_TESTS_SUBMENU_DESC" />
|
<action name="tuberculosis.version" title="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_VERSION" description="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_VERSION_DESC" />
|
||||||
<action name="tuberculosis.access" title="COM_EHEALTH_PORTAL_TUBERCULOSES_ACCESS" description="COM_EHEALTH_PORTAL_TUBERCULOSES_ACCESS_DESC" />
|
<action name="tuberculosis.export" title="COM_EHEALTHPORTAL_TUBERCULOSES_EXPORT" description="COM_EHEALTHPORTAL_TUBERCULOSES_EXPORT_DESC" />
|
||||||
<action name="tuberculosis.batch" title="COM_EHEALTH_PORTAL_TUBERCULOSES_BATCH_USE" description="COM_EHEALTH_PORTAL_TUBERCULOSES_BATCH_USE_DESC" />
|
<action name="tuberculosis.import" title="COM_EHEALTHPORTAL_TUBERCULOSES_IMPORT" description="COM_EHEALTHPORTAL_TUBERCULOSES_IMPORT_DESC" />
|
||||||
<action name="tuberculosis.dashboard_add" title="COM_EHEALTH_PORTAL_TUBERCULOSES_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_TUBERCULOSES_DASHBOARD_ADD_DESC" />
|
<action name="tuberculosis.submenu" title="COM_EHEALTHPORTAL_TUBERCULOSES_SUBMENU" description="COM_EHEALTHPORTAL_TUBERCULOSES_SUBMENU_DESC" />
|
||||||
<action name="tuberculosis.dashboard_list" title="COM_EHEALTH_PORTAL_TUBERCULOSES_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_TUBERCULOSES_DASHBOARD_LIST_DESC" />
|
<action name="unit.access" title="COM_EHEALTHPORTAL_UNITS_ACCESS" description="COM_EHEALTHPORTAL_UNITS_ACCESS_DESC" />
|
||||||
<action name="tuberculosis.edit.patient" title="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_PATIENT_DESC" />
|
<action name="unit.batch" title="COM_EHEALTHPORTAL_UNITS_BATCH_USE" description="COM_EHEALTHPORTAL_UNITS_BATCH_USE_DESC" />
|
||||||
<action name="tuberculosis.version" title="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_VERSION_DESC" />
|
<action name="unit.edit.description" title="COM_EHEALTHPORTAL_UNITS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_UNITS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="tuberculosis.export" title="COM_EHEALTH_PORTAL_TUBERCULOSES_EXPORT" description="COM_EHEALTH_PORTAL_TUBERCULOSES_EXPORT_DESC" />
|
<action name="unit.edit.name" title="COM_EHEALTHPORTAL_UNITS_EDIT_NAME" description="COM_EHEALTHPORTAL_UNITS_EDIT_NAME_DESC" />
|
||||||
<action name="tuberculosis.import" title="COM_EHEALTH_PORTAL_TUBERCULOSES_IMPORT" description="COM_EHEALTH_PORTAL_TUBERCULOSES_IMPORT_DESC" />
|
<action name="unit.version" title="COM_EHEALTHPORTAL_UNITS_EDIT_VERSION" description="COM_EHEALTHPORTAL_UNITS_EDIT_VERSION_DESC" />
|
||||||
<action name="tuberculosis.submenu" title="COM_EHEALTH_PORTAL_TUBERCULOSES_SUBMENU" description="COM_EHEALTH_PORTAL_TUBERCULOSES_SUBMENU_DESC" />
|
<action name="unit.export" title="COM_EHEALTHPORTAL_UNITS_EXPORT" description="COM_EHEALTHPORTAL_UNITS_EXPORT_DESC" />
|
||||||
<action name="unit.access" title="COM_EHEALTH_PORTAL_UNITS_ACCESS" description="COM_EHEALTH_PORTAL_UNITS_ACCESS_DESC" />
|
<action name="unit.import" title="COM_EHEALTHPORTAL_UNITS_IMPORT" description="COM_EHEALTHPORTAL_UNITS_IMPORT_DESC" />
|
||||||
<action name="unit.batch" title="COM_EHEALTH_PORTAL_UNITS_BATCH_USE" description="COM_EHEALTH_PORTAL_UNITS_BATCH_USE_DESC" />
|
<action name="unit.submenu" title="COM_EHEALTHPORTAL_UNITS_SUBMENU" description="COM_EHEALTHPORTAL_UNITS_SUBMENU_DESC" />
|
||||||
<action name="unit.edit.description" title="COM_EHEALTH_PORTAL_UNITS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_UNITS_EDIT_DESCRIPTION_DESC" />
|
<action name="vmmc.access" title="COM_EHEALTHPORTAL_VMMCS_ACCESS" description="COM_EHEALTHPORTAL_VMMCS_ACCESS_DESC" />
|
||||||
<action name="unit.edit.name" title="COM_EHEALTH_PORTAL_UNITS_EDIT_NAME" description="COM_EHEALTH_PORTAL_UNITS_EDIT_NAME_DESC" />
|
<action name="vmmc.batch" title="COM_EHEALTHPORTAL_VMMCS_BATCH_USE" description="COM_EHEALTHPORTAL_VMMCS_BATCH_USE_DESC" />
|
||||||
<action name="unit.version" title="COM_EHEALTH_PORTAL_UNITS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_UNITS_EDIT_VERSION_DESC" />
|
<action name="vmmc.dashboard_add" title="COM_EHEALTHPORTAL_VMMCS_DASHBOARD_ADD" description="COM_EHEALTHPORTAL_VMMCS_DASHBOARD_ADD_DESC" />
|
||||||
<action name="unit.export" title="COM_EHEALTH_PORTAL_UNITS_EXPORT" description="COM_EHEALTH_PORTAL_UNITS_EXPORT_DESC" />
|
<action name="vmmc.dashboard_list" title="COM_EHEALTHPORTAL_VMMCS_DASHBOARD_LIST" description="COM_EHEALTHPORTAL_VMMCS_DASHBOARD_LIST_DESC" />
|
||||||
<action name="unit.import" title="COM_EHEALTH_PORTAL_UNITS_IMPORT" description="COM_EHEALTH_PORTAL_UNITS_IMPORT_DESC" />
|
<action name="vmmc.version" title="COM_EHEALTHPORTAL_VMMCS_EDIT_VERSION" description="COM_EHEALTHPORTAL_VMMCS_EDIT_VERSION_DESC" />
|
||||||
<action name="unit.submenu" title="COM_EHEALTH_PORTAL_UNITS_SUBMENU" description="COM_EHEALTH_PORTAL_UNITS_SUBMENU_DESC" />
|
<action name="vmmc.export" title="COM_EHEALTHPORTAL_VMMCS_EXPORT" description="COM_EHEALTHPORTAL_VMMCS_EXPORT_DESC" />
|
||||||
<action name="vmmc.access" title="COM_EHEALTH_PORTAL_VMMCS_ACCESS" description="COM_EHEALTH_PORTAL_VMMCS_ACCESS_DESC" />
|
<action name="vmmc.import" title="COM_EHEALTHPORTAL_VMMCS_IMPORT" description="COM_EHEALTHPORTAL_VMMCS_IMPORT_DESC" />
|
||||||
<action name="vmmc.batch" title="COM_EHEALTH_PORTAL_VMMCS_BATCH_USE" description="COM_EHEALTH_PORTAL_VMMCS_BATCH_USE_DESC" />
|
<action name="vmmc.submenu" title="COM_EHEALTHPORTAL_VMMCS_SUBMENU" description="COM_EHEALTHPORTAL_VMMCS_SUBMENU_DESC" />
|
||||||
<action name="vmmc.dashboard_add" title="COM_EHEALTH_PORTAL_VMMCS_DASHBOARD_ADD" description="COM_EHEALTH_PORTAL_VMMCS_DASHBOARD_ADD_DESC" />
|
|
||||||
<action name="vmmc.dashboard_list" title="COM_EHEALTH_PORTAL_VMMCS_DASHBOARD_LIST" description="COM_EHEALTH_PORTAL_VMMCS_DASHBOARD_LIST_DESC" />
|
|
||||||
<action name="vmmc.version" title="COM_EHEALTH_PORTAL_VMMCS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_VMMCS_EDIT_VERSION_DESC" />
|
|
||||||
<action name="vmmc.export" title="COM_EHEALTH_PORTAL_VMMCS_EXPORT" description="COM_EHEALTH_PORTAL_VMMCS_EXPORT_DESC" />
|
|
||||||
<action name="vmmc.import" title="COM_EHEALTH_PORTAL_VMMCS_IMPORT" description="COM_EHEALTH_PORTAL_VMMCS_IMPORT_DESC" />
|
|
||||||
<action name="vmmc.submenu" title="COM_EHEALTH_PORTAL_VMMCS_SUBMENU" description="COM_EHEALTH_PORTAL_VMMCS_SUBMENU_DESC" />
|
|
||||||
</section>
|
</section>
|
||||||
<section name="payment">
|
<section name="payment">
|
||||||
<action name="payment.edit.patient" title="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_PATIENT_DESC" />
|
<action name="payment.edit.patient" title="COM_EHEALTHPORTAL_PAYMENTS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_PAYMENTS_EDIT_PATIENT_DESC" />
|
||||||
<action name="payment.version" title="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENTS_EDIT_VERSION_DESC" />
|
<action name="payment.version" title="COM_EHEALTHPORTAL_PAYMENTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_PAYMENTS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="general_medical_check_up">
|
<section name="general_medical_check_up">
|
||||||
<action name="general_medical_check_up.edit.patient" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT_DESC" />
|
<action name="general_medical_check_up.edit.patient" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_PATIENT_DESC" />
|
||||||
<action name="general_medical_check_up.version" title="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION_DESC" />
|
<action name="general_medical_check_up.version" title="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION" description="COM_EHEALTHPORTAL_GENERAL_MEDICAL_CHECK_UPS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="antenatal_care">
|
<section name="antenatal_care">
|
||||||
<action name="antenatal_care.version" title="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_ANTENATAL_CARES_EDIT_VERSION_DESC" />
|
<action name="antenatal_care.version" title="COM_EHEALTHPORTAL_ANTENATAL_CARES_EDIT_VERSION" description="COM_EHEALTHPORTAL_ANTENATAL_CARES_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="immunisation">
|
<section name="immunisation">
|
||||||
<action name="immunisation.edit.patient" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_PATIENT_DESC" />
|
<action name="immunisation.edit.patient" title="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_PATIENT" description="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_PATIENT_DESC" />
|
||||||
<action name="immunisation.version" title="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATIONS_EDIT_VERSION_DESC" />
|
<action name="immunisation.version" title="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATIONS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="vmmc">
|
<section name="vmmc">
|
||||||
<action name="vmmc.version" title="COM_EHEALTH_PORTAL_VMMCS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_VMMCS_EDIT_VERSION_DESC" />
|
<action name="vmmc.version" title="COM_EHEALTHPORTAL_VMMCS_EDIT_VERSION" description="COM_EHEALTHPORTAL_VMMCS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="prostate_and_testicular_cancer">
|
<section name="prostate_and_testicular_cancer">
|
||||||
<action name="prostate_and_testicular_cancer.version" title="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION_DESC" />
|
<action name="prostate_and_testicular_cancer.version" title="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_PROSTATE_AND_TESTICULAR_CANCERS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="tuberculosis">
|
<section name="tuberculosis">
|
||||||
<action name="tuberculosis.edit.patient" title="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_PATIENT" description="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_PATIENT_DESC" />
|
<action name="tuberculosis.edit.patient" title="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_PATIENT" description="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_PATIENT_DESC" />
|
||||||
<action name="tuberculosis.version" title="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TUBERCULOSES_EDIT_VERSION_DESC" />
|
<action name="tuberculosis.version" title="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_VERSION" description="COM_EHEALTHPORTAL_TUBERCULOSES_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="hiv_counseling_and_testing">
|
<section name="hiv_counseling_and_testing">
|
||||||
<action name="hiv_counseling_and_testing.version" title="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION_DESC" />
|
<action name="hiv_counseling_and_testing.version" title="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HIV_COUNSELINGS_AND_TESTINGS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="family_planning">
|
<section name="family_planning">
|
||||||
<action name="family_planning.edit.diagnosis" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS_DESC" />
|
<action name="family_planning.edit.diagnosis" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_DIAGNOSIS_DESC" />
|
||||||
<action name="family_planning.version" title="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FAMILY_PLANNINGS_EDIT_VERSION_DESC" />
|
<action name="family_planning.version" title="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FAMILY_PLANNINGS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="health_education">
|
<section name="health_education">
|
||||||
<action name="health_education.edit.health_education_topic" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC_DESC" />
|
<action name="health_education.edit.health_education_topic" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_HEALTH_EDUCATION_TOPIC_DESC" />
|
||||||
<action name="health_education.version" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATIONS_EDIT_VERSION_DESC" />
|
<action name="health_education.version" title="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATIONS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="cervical_cancer">
|
<section name="cervical_cancer">
|
||||||
<action name="cervical_cancer.version" title="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_CERVICAL_CANCERS_EDIT_VERSION_DESC" />
|
<action name="cervical_cancer.version" title="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_CERVICAL_CANCERS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="breast_cancer">
|
<section name="breast_cancer">
|
||||||
<action name="breast_cancer.version" title="COM_EHEALTH_PORTAL_BREAST_CANCERS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_BREAST_CANCERS_EDIT_VERSION_DESC" />
|
<action name="breast_cancer.version" title="COM_EHEALTHPORTAL_BREAST_CANCERS_EDIT_VERSION" description="COM_EHEALTHPORTAL_BREAST_CANCERS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="test">
|
<section name="test">
|
||||||
<action name="test.version" title="COM_EHEALTH_PORTAL_TESTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TESTS_EDIT_VERSION_DESC" />
|
<action name="test.version" title="COM_EHEALTHPORTAL_TESTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_TESTS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
|
||||||
<section name="immunisation_vaccine_type">
|
|
||||||
<action name="immunisation_vaccine_type.edit.name" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME_DESC" />
|
|
||||||
<action name="immunisation_vaccine_type.edit.description" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="immunisation_vaccine_type.version" title="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="foetal_presentation">
|
|
||||||
<action name="foetal_presentation.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_NAME_DESC" />
|
|
||||||
<action name="foetal_presentation.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="foetal_presentation.version" title="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
</section>
|
||||||
<section name="foetal_lie">
|
<section name="foetal_lie">
|
||||||
<action name="foetal_lie.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_NAME_DESC" />
|
<action name="foetal_lie.edit.name" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_NAME_DESC" />
|
||||||
<action name="foetal_lie.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_lie.edit.description" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="foetal_lie.version" title="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_LIES_EDIT_VERSION_DESC" />
|
<action name="foetal_lie.version" title="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_LIES_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="counseling_type">
|
<section name="immunisation_vaccine_type">
|
||||||
<action name="counseling_type.edit.name" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_NAME_DESC" />
|
<action name="immunisation_vaccine_type.edit.name" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="counseling_type.edit.description" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="immunisation_vaccine_type.edit.description" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="counseling_type.version" title="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_COUNSELING_TYPES_EDIT_VERSION_DESC" />
|
<action name="immunisation_vaccine_type.version" title="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATION_VACCINE_TYPES_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="foetal_engagement">
|
<section name="foetal_engagement">
|
||||||
<action name="foetal_engagement.edit.name" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME_DESC" />
|
<action name="foetal_engagement.edit.name" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_NAME_DESC" />
|
||||||
<action name="foetal_engagement.edit.description" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_engagement.edit.description" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="foetal_engagement.version" title="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION_DESC" />
|
<action name="foetal_engagement.version" title="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="health_education_topic">
|
<section name="foetal_presentation">
|
||||||
<action name="health_education_topic.edit.name" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME_DESC" />
|
<action name="foetal_presentation.edit.name" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_NAME" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_NAME_DESC" />
|
||||||
<action name="health_education_topic.edit.description" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION_DESC" />
|
<action name="foetal_presentation.edit.description" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="health_education_topic.version" title="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION_DESC" />
|
<action name="foetal_presentation.version" title="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="testing_reason">
|
<section name="testing_reason">
|
||||||
<action name="testing_reason.edit.name" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_NAME_DESC" />
|
<action name="testing_reason.edit.name" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_NAME" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_NAME_DESC" />
|
||||||
<action name="testing_reason.edit.description" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_DESCRIPTION_DESC" />
|
<action name="testing_reason.edit.description" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="testing_reason.version" title="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_TESTING_REASONS_EDIT_VERSION_DESC" />
|
<action name="testing_reason.version" title="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_TESTING_REASONS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="clinic">
|
<section name="counseling_type">
|
||||||
<action name="clinic.edit.clinic_name" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_CLINIC_NAME" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_CLINIC_NAME_DESC" />
|
<action name="counseling_type.edit.name" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="clinic.edit.description" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_DESCRIPTION_DESC" />
|
<action name="counseling_type.edit.description" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="clinic.version" title="COM_EHEALTH_PORTAL_CLINICS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_CLINICS_EDIT_VERSION_DESC" />
|
<action name="counseling_type.version" title="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_COUNSELING_TYPES_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="health_education_topic">
|
||||||
|
<action name="health_education_topic.edit.name" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_NAME_DESC" />
|
||||||
|
<action name="health_education_topic.edit.description" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="health_education_topic.version" title="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION" description="COM_EHEALTHPORTAL_HEALTH_EDUCATION_TOPICS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="immunisation_type">
|
<section name="immunisation_type">
|
||||||
<action name="immunisation_type.edit.name" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_NAME_DESC" />
|
<action name="immunisation_type.edit.name" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_NAME_DESC" />
|
||||||
<action name="immunisation_type.edit.description" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION_DESC" />
|
<action name="immunisation_type.edit.description" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="immunisation_type.version" title="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_IMMUNISATION_TYPES_EDIT_VERSION_DESC" />
|
<action name="immunisation_type.version" title="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_IMMUNISATION_TYPES_EDIT_VERSION_DESC" />
|
||||||
</section>
|
|
||||||
<section name="unit">
|
|
||||||
<action name="unit.edit.name" title="COM_EHEALTH_PORTAL_UNITS_EDIT_NAME" description="COM_EHEALTH_PORTAL_UNITS_EDIT_NAME_DESC" />
|
|
||||||
<action name="unit.edit.description" title="COM_EHEALTH_PORTAL_UNITS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_UNITS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="unit.version" title="COM_EHEALTH_PORTAL_UNITS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_UNITS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="referral">
|
|
||||||
<action name="referral.edit.name" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_NAME" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_NAME_DESC" />
|
|
||||||
<action name="referral.edit.description" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="referral.version" title="COM_EHEALTH_PORTAL_REFERRALS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_REFERRALS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="planning_type">
|
|
||||||
<action name="planning_type.edit.name" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_NAME_DESC" />
|
|
||||||
<action name="planning_type.edit.description" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="planning_type.version" title="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PLANNING_TYPES_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="diagnosis_type">
|
|
||||||
<action name="diagnosis_type.edit.name" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_NAME_DESC" />
|
|
||||||
<action name="diagnosis_type.edit.description" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="diagnosis_type.version" title="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="nonpay_reason">
|
|
||||||
<action name="nonpay_reason.edit.name" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_NAME_DESC" />
|
|
||||||
<action name="nonpay_reason.edit.description" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="nonpay_reason.version" title="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_NONPAY_REASONS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="medication">
|
|
||||||
<action name="medication.edit.name" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_NAME" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_NAME_DESC" />
|
|
||||||
<action name="medication.edit.description" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="medication.version" title="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_MEDICATIONS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="payment_amount">
|
|
||||||
<action name="payment_amount.edit.name" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_NAME_DESC" />
|
|
||||||
<action name="payment_amount.edit.description" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="payment_amount.version" title="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENT_AMOUNTS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="administration_part">
|
|
||||||
<action name="administration_part.edit.name" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_NAME" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_NAME_DESC" />
|
|
||||||
<action name="administration_part.edit.description" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="administration_part.version" title="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
|
||||||
<section name="payment_type">
|
|
||||||
<action name="payment_type.edit.name" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_NAME" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_NAME_DESC" />
|
|
||||||
<action name="payment_type.edit.description" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION_DESC" />
|
|
||||||
<action name="payment_type.version" title="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_PAYMENT_TYPES_EDIT_VERSION_DESC" />
|
|
||||||
</section>
|
</section>
|
||||||
<section name="strength">
|
<section name="strength">
|
||||||
<action name="strength.edit.name" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_NAME" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_NAME_DESC" />
|
<action name="strength.edit.name" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_NAME" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_NAME_DESC" />
|
||||||
<action name="strength.edit.description" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_DESCRIPTION_DESC" />
|
<action name="strength.edit.description" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="strength.version" title="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_VERSION" description="COM_EHEALTH_PORTAL_STRENGTHS_EDIT_VERSION_DESC" />
|
<action name="strength.version" title="COM_EHEALTHPORTAL_STRENGTHS_EDIT_VERSION" description="COM_EHEALTHPORTAL_STRENGTHS_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="referral">
|
||||||
|
<action name="referral.edit.name" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_NAME" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_NAME_DESC" />
|
||||||
|
<action name="referral.edit.description" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="referral.version" title="COM_EHEALTHPORTAL_REFERRALS_EDIT_VERSION" description="COM_EHEALTHPORTAL_REFERRALS_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="planning_type">
|
||||||
|
<action name="planning_type.edit.name" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_NAME_DESC" />
|
||||||
|
<action name="planning_type.edit.description" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="planning_type.version" title="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_PLANNING_TYPES_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="diagnosis_type">
|
||||||
|
<action name="diagnosis_type.edit.name" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_NAME_DESC" />
|
||||||
|
<action name="diagnosis_type.edit.description" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="diagnosis_type.version" title="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_DIAGNOSIS_TYPES_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="nonpay_reason">
|
||||||
|
<action name="nonpay_reason.edit.name" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_NAME" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_NAME_DESC" />
|
||||||
|
<action name="nonpay_reason.edit.description" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="nonpay_reason.version" title="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_NONPAY_REASONS_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="medication">
|
||||||
|
<action name="medication.edit.name" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_NAME" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_NAME_DESC" />
|
||||||
|
<action name="medication.edit.description" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="medication.version" title="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_VERSION" description="COM_EHEALTHPORTAL_MEDICATIONS_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="payment_type">
|
||||||
|
<action name="payment_type.edit.name" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_NAME" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_NAME_DESC" />
|
||||||
|
<action name="payment_type.edit.description" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="payment_type.version" title="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_VERSION" description="COM_EHEALTHPORTAL_PAYMENT_TYPES_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="administration_part">
|
||||||
|
<action name="administration_part.edit.name" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_NAME" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_NAME_DESC" />
|
||||||
|
<action name="administration_part.edit.description" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="administration_part.version" title="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_VERSION" description="COM_EHEALTHPORTAL_ADMINISTRATION_PARTS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
<section name="site">
|
<section name="site">
|
||||||
<action name="site.edit.site_name" title="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_NAME" description="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_NAME_DESC" />
|
<action name="site.edit.site_name" title="COM_EHEALTHPORTAL_SITES_EDIT_SITE_NAME" description="COM_EHEALTHPORTAL_SITES_EDIT_SITE_NAME_DESC" />
|
||||||
<action name="site.edit.description" title="COM_EHEALTH_PORTAL_SITES_EDIT_DESCRIPTION" description="COM_EHEALTH_PORTAL_SITES_EDIT_DESCRIPTION_DESC" />
|
<action name="site.edit.description" title="COM_EHEALTHPORTAL_SITES_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_SITES_EDIT_DESCRIPTION_DESC" />
|
||||||
<action name="site.edit.site_region" title="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_REGION" description="COM_EHEALTH_PORTAL_SITES_EDIT_SITE_REGION_DESC" />
|
<action name="site.edit.site_region" title="COM_EHEALTHPORTAL_SITES_EDIT_SITE_REGION" description="COM_EHEALTHPORTAL_SITES_EDIT_SITE_REGION_DESC" />
|
||||||
<action name="site.version" title="COM_EHEALTH_PORTAL_SITES_EDIT_VERSION" description="COM_EHEALTH_PORTAL_SITES_EDIT_VERSION_DESC" />
|
<action name="site.version" title="COM_EHEALTHPORTAL_SITES_EDIT_VERSION" description="COM_EHEALTHPORTAL_SITES_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="unit">
|
||||||
|
<action name="unit.edit.name" title="COM_EHEALTHPORTAL_UNITS_EDIT_NAME" description="COM_EHEALTHPORTAL_UNITS_EDIT_NAME_DESC" />
|
||||||
|
<action name="unit.edit.description" title="COM_EHEALTHPORTAL_UNITS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_UNITS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="unit.version" title="COM_EHEALTHPORTAL_UNITS_EDIT_VERSION" description="COM_EHEALTHPORTAL_UNITS_EDIT_VERSION_DESC" />
|
||||||
|
</section>
|
||||||
|
<section name="clinic">
|
||||||
|
<action name="clinic.edit.clinic_name" title="COM_EHEALTHPORTAL_CLINICS_EDIT_CLINIC_NAME" description="COM_EHEALTHPORTAL_CLINICS_EDIT_CLINIC_NAME_DESC" />
|
||||||
|
<action name="clinic.edit.description" title="COM_EHEALTHPORTAL_CLINICS_EDIT_DESCRIPTION" description="COM_EHEALTHPORTAL_CLINICS_EDIT_DESCRIPTION_DESC" />
|
||||||
|
<action name="clinic.version" title="COM_EHEALTHPORTAL_CLINICS_EDIT_VERSION" description="COM_EHEALTHPORTAL_CLINICS_EDIT_VERSION_DESC" />
|
||||||
</section>
|
</section>
|
||||||
</access>
|
</access>
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage admin.css
|
@subpackage admin.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage administration_part.css
|
@subpackage administration_part.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage administration_parts.css
|
@subpackage administration_parts.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage antenatal_care.css
|
@subpackage antenatal_care.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage antenatal_cares.css
|
@subpackage antenatal_cares.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage breast_cancer.css
|
@subpackage breast_cancer.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage breast_cancers.css
|
@subpackage breast_cancers.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage cervical_cancer.css
|
@subpackage cervical_cancer.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage cervical_cancers.css
|
@subpackage cervical_cancers.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage clinic.css
|
@subpackage clinic.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage clinics.css
|
@subpackage clinics.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage counseling_type.css
|
@subpackage counseling_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage counseling_types.css
|
@subpackage counseling_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage dashboard.css
|
@subpackage dashboard.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -25,153 +25,153 @@
|
|||||||
/* CSS Document */
|
/* CSS Document */
|
||||||
|
|
||||||
.dashboard-container {
|
.dashboard-container {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.dashboard-container [class*="span"] {
|
.dashboard-container [class*="span"] {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
.dashboard-container:before, .dashboard-container:after {
|
.dashboard-container:before, .dashboard-container:after {
|
||||||
content: "";
|
content: "";
|
||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
.dashboard-container:after {
|
.dashboard-container:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.dashboard-container [class*="span"] {
|
.dashboard-container [class*="span"] {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
min-height: 145px;
|
min-height: 145px;
|
||||||
min-width: 96px;
|
min-width: 96px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.dashboard-container [class*="span"]:first-child {
|
.dashboard-container [class*="span"]:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
.dashboard-wraper {
|
.dashboard-wraper {
|
||||||
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 1%;
|
margin: 1%;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
width: 17%;
|
width: 17%;
|
||||||
min-height: 194px;
|
min-height: 194px;
|
||||||
min-width: 96px;
|
min-width: 96px;
|
||||||
}
|
}
|
||||||
.dashboard-content a {
|
.dashboard-content a {
|
||||||
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
||||||
border: 1px solid hsl(0, 0%, 85%);
|
border: 1px solid hsl(0, 0%, 85%);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
||||||
color: hsl(0, 0%, 20%);
|
color: hsl(0, 0%, 20%);
|
||||||
display: block;
|
display: block;
|
||||||
min-height: 89px;
|
min-height: 89px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.dashboard-content a:hover {
|
.dashboard-content a:hover {
|
||||||
background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
||||||
color: hsl(200, 100%, 30%);
|
color: hsl(200, 100%, 30%);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.dashboard-title {
|
.dashboard-title {
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
.dashboard-info {
|
.dashboard-info {
|
||||||
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
||||||
border: 1px solid hsl(0, 0%, 85%);
|
border: 1px solid hsl(0, 0%, 85%);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
||||||
color: hsl(0, 0%, 20%);
|
color: hsl(0, 0%, 20%);
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.dashboard-info span {
|
.dashboard-info span {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.dashboard-info img {
|
.dashboard-info img {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.dashboard-table {
|
.dashboard-table {
|
||||||
border-top: 1px solid hsl(0, 0%, 87%);
|
border-top: 1px solid hsl(0, 0%, 87%);
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.dashboard-info h5 {
|
.dashboard-info h5 {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.dashboard-block {
|
.dashboard-block {
|
||||||
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
||||||
border: 1px solid hsl(0, 0%, 76%);
|
border: 1px solid hsl(0, 0%, 76%);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset;
|
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-head {
|
.dashboard-block .dashboard-block-head {
|
||||||
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
|
||||||
border-bottom: 1px solid hsl(0, 0%, 76%);
|
border-bottom: 1px solid hsl(0, 0%, 76%);
|
||||||
border-radius: 3px 3px 0 0;
|
border-radius: 3px 3px 0 0;
|
||||||
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%);
|
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%);
|
||||||
height: 40px;
|
height: 40px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-head h5 {
|
.dashboard-block .dashboard-block-head h5 {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-top: 11px;
|
padding-top: 11px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-content {
|
.dashboard-block .dashboard-block-content {
|
||||||
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
||||||
border-radius: 0 0 3px 3px;
|
border-radius: 0 0 3px 3px;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-box {
|
.dashboard-block .dashboard-block-box {
|
||||||
background: none repeat scroll 0 0 hsl(0, 0%, 100%);
|
background: none repeat scroll 0 0 hsl(0, 0%, 100%);
|
||||||
border-top: 1px solid hsl(0, 0%, 82%);
|
border-top: 1px solid hsl(0, 0%, 82%);
|
||||||
box-shadow: 0 0 5px hsl(0, 0%, 87%) inset;
|
box-shadow: 0 0 5px hsl(0, 0%, 87%) inset;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-content .dashboard-block-box {
|
.dashboard-block .dashboard-block-content .dashboard-block-box {
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table {
|
.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
.dashboard-block-table {
|
.dashboard-block-table {
|
||||||
background-color: hsla(0, 0%, 0%, 0);
|
background-color: hsla(0, 0%, 0%, 0);
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.dashboard-block-table th, .dashboard-block-table td {
|
.dashboard-block-table th, .dashboard-block-table td {
|
||||||
border-top: 1px solid hsl(0, 0%, 87%);
|
border-top: 1px solid hsl(0, 0%, 87%);
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.dashboard-badge {
|
.dashboard-badge {
|
||||||
background-color: hsl(0, 0%, 60%);
|
background-color: hsl(0, 0%, 60%);
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
color: hsl(0, 0%, 100%);
|
color: hsl(0, 0%, 100%);
|
||||||
font-size: 11.844px;
|
font-size: 11.844px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
padding: 1px 9px 2px;
|
padding: 1px 9px 2px;
|
||||||
text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25);
|
text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25);
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage diagnosis_type.css
|
@subpackage diagnosis_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage diagnosis_types.css
|
@subpackage diagnosis_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage family_planning.css
|
@subpackage family_planning.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage family_plannings.css
|
@subpackage family_plannings.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_engagement.css
|
@subpackage foetal_engagement.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_engagements.css
|
@subpackage foetal_engagements.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_lie.css
|
@subpackage foetal_lie.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_lies.css
|
@subpackage foetal_lies.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_presentation.css
|
@subpackage foetal_presentation.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_presentations.css
|
@subpackage foetal_presentations.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage general_medical_check_up.css
|
@subpackage general_medical_check_up.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage general_medical_check_ups.css
|
@subpackage general_medical_check_ups.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage health_education.css
|
@subpackage health_education.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage health_education_topic.css
|
@subpackage health_education_topic.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage health_education_topics.css
|
@subpackage health_education_topics.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage health_educations.css
|
@subpackage health_educations.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage hiv_counseling_and_testing.css
|
@subpackage hiv_counseling_and_testing.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage hiv_counselings_and_testings.css
|
@subpackage hiv_counselings_and_testings.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisation.css
|
@subpackage immunisation.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisation_type.css
|
@subpackage immunisation_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisation_types.css
|
@subpackage immunisation_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisation_vaccine_type.css
|
@subpackage immunisation_vaccine_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisation_vaccine_types.css
|
@subpackage immunisation_vaccine_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage immunisations.css
|
@subpackage immunisations.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage medication.css
|
@subpackage medication.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage medications.css
|
@subpackage medications.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage nonpay_reason.css
|
@subpackage nonpay_reason.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage nonpay_reasons.css
|
@subpackage nonpay_reasons.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage patient_queue.css
|
@subpackage patient_queue.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage payment.css
|
@subpackage payment.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
||||||
__ __ _ _____ _ _ __ __ _ _ _
|
|
||||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
||||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
||||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
||||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
||||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
||||||
| |
|
|
||||||
|_|
|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
||||||
|
|
||||||
@version 1.0.5
|
|
||||||
@build 24th April, 2021
|
|
||||||
@created 13th August, 2020
|
|
||||||
@package eHealth Portal
|
|
||||||
@subpackage payment_amount.css
|
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
|
||||||
@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
|
|
||||||
|
|
||||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* CSS Document */
|
|
||||||
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
||||||
__ __ _ _____ _ _ __ __ _ _ _
|
|
||||||
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
||||||
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
||||||
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
||||||
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
||||||
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
||||||
| |
|
|
||||||
|_|
|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
||||||
|
|
||||||
@version 1.0.5
|
|
||||||
@build 24th April, 2021
|
|
||||||
@created 13th August, 2020
|
|
||||||
@package eHealth Portal
|
|
||||||
@subpackage payment_amounts.css
|
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
|
||||||
@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
|
|
||||||
|
|
||||||
/-----------------------------------------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* CSS Document */
|
|
||||||
|
|
||||||
|
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage payment_type.css
|
@subpackage payment_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage payment_types.css
|
@subpackage payment_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage payments.css
|
@subpackage payments.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage planning_type.css
|
@subpackage planning_type.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage planning_types.css
|
@subpackage planning_types.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage prostate_and_testicular_cancer.css
|
@subpackage prostate_and_testicular_cancer.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage prostate_and_testicular_cancers.css
|
@subpackage prostate_and_testicular_cancers.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage referral.css
|
@subpackage referral.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage referrals.css
|
@subpackage referrals.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage site.css
|
@subpackage site.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage sites.css
|
@subpackage sites.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage strength.css
|
@subpackage strength.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage strengths.css
|
@subpackage strengths.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage test.css
|
@subpackage test.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage testing_reason.css
|
@subpackage testing_reason.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage testing_reasons.css
|
@subpackage testing_reasons.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage tests.css
|
@subpackage tests.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage tuberculoses.css
|
@subpackage tuberculoses.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage tuberculosis.css
|
@subpackage tuberculosis.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage unit.css
|
@subpackage unit.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage units.css
|
@subpackage units.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage vmmc.css
|
@subpackage vmmc.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage vmmcs.css
|
@subpackage vmmcs.css
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 65 KiB |
@ -9,12 +9,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage admin.js
|
@subpackage admin.js
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<config>
|
<config>
|
||||||
<fieldset
|
<fieldset
|
||||||
addrulepath="/administrator/components/com_ehealth_portal/models/rules"
|
addrulepath="/administrator/components/com_ehealthportal/models/rules"
|
||||||
addfieldpath="/administrator/components/com_ehealth_portal/models/fields"
|
addfieldpath="/administrator/components/com_ehealthportal/models/fields"
|
||||||
name="global_config"
|
name="global_config"
|
||||||
label="COM_EHEALTH_PORTAL_CONFIG_GLOBAL_LABEL"
|
label="COM_EHEALTHPORTAL_CONFIG_GLOBAL_LABEL"
|
||||||
description="COM_EHEALTH_PORTAL_CONFIG_GLOBAL_DESC">
|
description="COM_EHEALTHPORTAL_CONFIG_GLOBAL_DESC">
|
||||||
<field
|
<field
|
||||||
name="check_in"
|
name="check_in"
|
||||||
type="list"
|
type="list"
|
||||||
default="0"
|
default="0"
|
||||||
label="COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_LABEL"
|
label="COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_LABEL"
|
||||||
description="COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_DESC">
|
description="COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_DESC">
|
||||||
<option
|
<option
|
||||||
value="-5 hours">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_ONE</option>
|
value="-5 hours">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_ONE</option>
|
||||||
<option
|
<option
|
||||||
value="-12 hours">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_TWO</option>
|
value="-12 hours">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_TWO</option>
|
||||||
<option
|
<option
|
||||||
value="-1 day">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_THREE</option>
|
value="-1 day">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_THREE</option>
|
||||||
<option
|
<option
|
||||||
value="-2 day">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_FOUR</option>
|
value="-2 day">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_FOUR</option>
|
||||||
<option
|
<option
|
||||||
value="-1 week">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_FIVE</option>
|
value="-1 week">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_FIVE</option>
|
||||||
<option
|
<option
|
||||||
value="0">COM_EHEALTH_PORTAL_CONFIG_CHECK_TIMER_OPTION_SIX</option>
|
value="0">COM_EHEALTHPORTAL_CONFIG_CHECK_TIMER_OPTION_SIX</option>
|
||||||
</field>
|
</field>
|
||||||
<field type="spacer" name="spacerAuthor" hr="true" />
|
<field type="spacer" name="spacerAuthor" hr="true" />
|
||||||
<field
|
<field
|
||||||
@ -48,23 +48,23 @@
|
|||||||
<field type="spacer" name="spacerHistory" hr="true" />
|
<field type="spacer" name="spacerHistory" hr="true" />
|
||||||
<field name="autorTitle"
|
<field name="autorTitle"
|
||||||
type="spacer"
|
type="spacer"
|
||||||
label="COM_EHEALTH_PORTAL_CONFIG_AUTHOR"
|
label="COM_EHEALTHPORTAL_CONFIG_AUTHOR"
|
||||||
/>
|
/>
|
||||||
<field name="autorName"
|
<field name="autorName"
|
||||||
type="text"
|
type="text"
|
||||||
label="COM_EHEALTH_PORTAL_CONFIG_AUTHOR_NAME_LABEL"
|
label="COM_EHEALTHPORTAL_CONFIG_AUTHOR_NAME_LABEL"
|
||||||
description="COM_EHEALTH_PORTAL_CONFIG_AUTHOR_NAME_DESC"
|
description="COM_EHEALTHPORTAL_CONFIG_AUTHOR_NAME_DESC"
|
||||||
size="60"
|
size="60"
|
||||||
default="Oh Martin"
|
default="Llewellyn van der Merwe"
|
||||||
readonly="true"
|
readonly="true"
|
||||||
class="readonly"
|
class="readonly"
|
||||||
/>
|
/>
|
||||||
<field name="autorEmail"
|
<field name="autorEmail"
|
||||||
type="email"
|
type="email"
|
||||||
label="COM_EHEALTH_PORTAL_CONFIG_AUTHOR_EMAIL_LABEL"
|
label="COM_EHEALTHPORTAL_CONFIG_AUTHOR_EMAIL_LABEL"
|
||||||
description="COM_EHEALTH_PORTAL_CONFIG_AUTHOR_EMAIL_DESC"
|
description="COM_EHEALTHPORTAL_CONFIG_AUTHOR_EMAIL_DESC"
|
||||||
size="60"
|
size="60"
|
||||||
default="oh.martin@vdm.io"
|
default="joomla@vdm.io"
|
||||||
readonly="true"
|
readonly="true"
|
||||||
class="readonly"
|
class="readonly"
|
||||||
/>
|
/>
|
||||||
@ -80,7 +80,7 @@
|
|||||||
class="inputbox"
|
class="inputbox"
|
||||||
validate="rules"
|
validate="rules"
|
||||||
filter="rules"
|
filter="rules"
|
||||||
component="com_ehealth_portal"
|
component="com_ehealthportal"
|
||||||
section="component"
|
section="component"
|
||||||
/>
|
/>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage controller.php
|
@subpackage controller.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,17 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* General Controller of Ehealth_portal component
|
* General Controller of Ehealthportal component
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalController extends JControllerLegacy
|
class EhealthportalController extends BaseController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
@ -42,10 +47,10 @@ class Ehealth_portalController extends JControllerLegacy
|
|||||||
*
|
*
|
||||||
* @since 3.0
|
* @since 3.0
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
// set the default view
|
// set the default view
|
||||||
$config['default_view'] = 'ehealth_portal';
|
$config['default_view'] = 'ehealthportal';
|
||||||
|
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
@ -58,38 +63,38 @@ class Ehealth_portalController extends JControllerLegacy
|
|||||||
function display($cachable = false, $urlparams = false)
|
function display($cachable = false, $urlparams = false)
|
||||||
{
|
{
|
||||||
// set default view if not set
|
// set default view if not set
|
||||||
$view = $this->input->getCmd('view', 'ehealth_portal');
|
$view = $this->input->getCmd('view', 'ehealthportal');
|
||||||
$data = $this->getViewRelation($view);
|
$data = $this->getViewRelation($view);
|
||||||
$layout = $this->input->get('layout', null, 'WORD');
|
$layout = $this->input->get('layout', null, 'WORD');
|
||||||
$id = $this->input->getInt('id');
|
$id = $this->input->getInt('id');
|
||||||
|
|
||||||
// Check for edit form.
|
// Check for edit form.
|
||||||
if(Ehealth_portalHelper::checkArray($data))
|
if(UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_ehealth_portal.edit.'.$data['view'], $id))
|
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_ehealthportal.edit.'.$data['view'], $id))
|
||||||
{
|
{
|
||||||
// Somehow the person just went to the form - we don't allow that.
|
// Somehow the person just went to the form - we don't allow that.
|
||||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
|
$this->setError(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
|
||||||
$this->setMessage($this->getError(), 'error');
|
$this->setMessage($this->getError(), 'error');
|
||||||
// check if item was opend from other then its own list view
|
// check if item was opend from other then its own list view
|
||||||
$ref = $this->input->getCmd('ref', 0);
|
$ref = $this->input->getCmd('ref', 0);
|
||||||
$refid = $this->input->getInt('refid', 0);
|
$refid = $this->input->getInt('refid', 0);
|
||||||
// set redirect
|
// set redirect
|
||||||
if ($refid > 0 && Ehealth_portalHelper::checkString($ref))
|
if ($refid > 0 && StringHelper::check($ref))
|
||||||
{
|
{
|
||||||
// redirect to item of ref
|
// redirect to item of ref
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||||
}
|
}
|
||||||
elseif (Ehealth_portalHelper::checkString($ref))
|
elseif (StringHelper::check($ref))
|
||||||
{
|
{
|
||||||
|
|
||||||
// redirect to ref
|
// redirect to ref
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view='.(string)$ref, false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view='.(string)$ref, false));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// normal redirect back to the list view
|
// normal redirect back to the list view
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view='.$data['views'], false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view='.$data['views'], false));
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@ -102,7 +107,7 @@ class Ehealth_portalController extends JControllerLegacy
|
|||||||
protected function getViewRelation($view)
|
protected function getViewRelation($view)
|
||||||
{
|
{
|
||||||
// check the we have a value
|
// check the we have a value
|
||||||
if (Ehealth_portalHelper::checkString($view))
|
if (StringHelper::check($view))
|
||||||
{
|
{
|
||||||
// the view relationships
|
// the view relationships
|
||||||
$views = array(
|
$views = array(
|
||||||
@ -119,26 +124,25 @@ class Ehealth_portalController extends JControllerLegacy
|
|||||||
'cervical_cancer' => 'cervical_cancers',
|
'cervical_cancer' => 'cervical_cancers',
|
||||||
'breast_cancer' => 'breast_cancers',
|
'breast_cancer' => 'breast_cancers',
|
||||||
'test' => 'tests',
|
'test' => 'tests',
|
||||||
'immunisation_vaccine_type' => 'immunisation_vaccine_types',
|
|
||||||
'foetal_presentation' => 'foetal_presentations',
|
|
||||||
'foetal_lie' => 'foetal_lies',
|
'foetal_lie' => 'foetal_lies',
|
||||||
'counseling_type' => 'counseling_types',
|
'immunisation_vaccine_type' => 'immunisation_vaccine_types',
|
||||||
'foetal_engagement' => 'foetal_engagements',
|
'foetal_engagement' => 'foetal_engagements',
|
||||||
'health_education_topic' => 'health_education_topics',
|
'foetal_presentation' => 'foetal_presentations',
|
||||||
'testing_reason' => 'testing_reasons',
|
'testing_reason' => 'testing_reasons',
|
||||||
'clinic' => 'clinics',
|
'counseling_type' => 'counseling_types',
|
||||||
|
'health_education_topic' => 'health_education_topics',
|
||||||
'immunisation_type' => 'immunisation_types',
|
'immunisation_type' => 'immunisation_types',
|
||||||
'unit' => 'units',
|
'strength' => 'strengths',
|
||||||
'referral' => 'referrals',
|
'referral' => 'referrals',
|
||||||
'planning_type' => 'planning_types',
|
'planning_type' => 'planning_types',
|
||||||
'diagnosis_type' => 'diagnosis_types',
|
'diagnosis_type' => 'diagnosis_types',
|
||||||
'nonpay_reason' => 'nonpay_reasons',
|
'nonpay_reason' => 'nonpay_reasons',
|
||||||
'medication' => 'medications',
|
'medication' => 'medications',
|
||||||
'payment_amount' => 'payment_amounts',
|
|
||||||
'administration_part' => 'administration_parts',
|
|
||||||
'payment_type' => 'payment_types',
|
'payment_type' => 'payment_types',
|
||||||
'strength' => 'strengths',
|
'administration_part' => 'administration_parts',
|
||||||
'site' => 'sites'
|
'site' => 'sites',
|
||||||
|
'unit' => 'units',
|
||||||
|
'clinic' => 'clinics'
|
||||||
);
|
);
|
||||||
// check if this is a list view
|
// check if this is a list view
|
||||||
if (in_array($view, $views))
|
if (in_array($view, $views))
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage administration_part.php
|
@subpackage administration_part.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Administration_part Controller
|
* Administration_part Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerAdministration_part extends JControllerForm
|
class EhealthportalControllerAdministration_part extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Administration_parts'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Administration_parts'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('administration_part.access', 'com_ehealth_portal');
|
$access = $user->authorise('administration_part.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.administration_part.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.administration_part.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.administration_part.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.administration_part.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Administration_part', '', array());
|
$model = $this->getModel('Administration_part', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=administration_parts' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=administration_parts' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerAdministration_part extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage administration_parts.php
|
@subpackage administration_parts.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Administration_parts Controller
|
* Administration_parts Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
class EhealthportalControllerAdministration_parts extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_ADMINISTRATION_PARTS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_ADMINISTRATION_PARTS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Administration_part', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Administration_part', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('administration_part.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('administration_part.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
|||||||
$model = $this->getModel('Administration_parts');
|
$model = $this->getModel('Administration_parts');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Administration_parts_'.$date->format('jS_F_Y'),'Administration parts exported ('.$date->format('jS F, Y').')','administration parts');
|
EhealthportalHelper::xls($data,'Administration_parts_'.$date->format('jS_F_Y'),'Administration parts exported ('.$date->format('jS F, Y').')','administration parts');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=administration_parts', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=administration_parts', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerAdministration_parts extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('administration_part.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('administration_part.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Administration_parts');
|
$model = $this->getModel('Administration_parts');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('administration_part_VDM_IMPORTHEADERS', $headers);
|
$session->set('administration_part_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'administration_parts');
|
$session->set('backto_VDM_IMPORT', 'administration_parts');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'administration_part');
|
$session->set('dataType_VDM_IMPORTINTO', 'administration_part');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_ADMINISTRATION_PARTS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_ADMINISTRATION_PARTS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=administration_parts', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=administration_parts', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage ajax.json.php
|
@subpackage ajax.json.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,40 +26,51 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\MVC\Controller\BaseController;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ehealth_portal Ajax Controller
|
* Ehealthportal Ajax Base Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerAjax extends JControllerLegacy
|
class EhealthportalControllerAjax extends BaseController
|
||||||
{
|
{
|
||||||
public function __construct($config)
|
public function __construct($config)
|
||||||
{
|
{
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
// make sure all json stuff are set
|
// make sure all json stuff are set
|
||||||
JFactory::getDocument()->setMimeEncoding( 'application/json' );
|
Factory::getDocument()->setMimeEncoding( 'application/json' );
|
||||||
JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"');
|
// get the application
|
||||||
JResponse::setHeader("Access-Control-Allow-Origin", "*");
|
$app = Factory::getApplication();
|
||||||
|
$app->setHeader('Content-Disposition','attachment;filename="getajax.json"');
|
||||||
|
$app->setHeader('Access-Control-Allow-Origin', '*');
|
||||||
// load the tasks
|
// load the tasks
|
||||||
$this->registerTask('getImmunisationVaccineType', 'ajax');
|
$this->registerTask('getImmunisationVaccineType', 'ajax');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ajax()
|
public function ajax()
|
||||||
{
|
{
|
||||||
$user = JFactory::getUser();
|
// get the user for later use
|
||||||
$jinput = JFactory::getApplication()->input;
|
$user = Factory::getUser();
|
||||||
|
// get the input values
|
||||||
|
$jinput = Factory::getApplication()->input;
|
||||||
|
// check if we should return raw
|
||||||
|
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||||
|
// return to a callback function
|
||||||
|
$callback = $jinput->get('callback', null, 'CMD');
|
||||||
// Check Token!
|
// Check Token!
|
||||||
$token = JSession::getFormToken();
|
$token = Session::getFormToken();
|
||||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||||
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
|
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
|
||||||
{
|
{
|
||||||
|
// get the task
|
||||||
$task = $this->getTask();
|
$task = $this->getTask();
|
||||||
switch($task)
|
switch($task)
|
||||||
{
|
{
|
||||||
case 'getImmunisationVaccineType':
|
case 'getImmunisationVaccineType':
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
|
||||||
$administration_partValue = $jinput->get('administration_part', NULL, 'INT');
|
$administration_partValue = $jinput->get('administration_part', NULL, 'INT');
|
||||||
if($administration_partValue && $user->id != 0)
|
if($administration_partValue && $user->id != 0)
|
||||||
{
|
{
|
||||||
@ -69,7 +80,7 @@ class Ehealth_portalControllerAjax extends JControllerLegacy
|
|||||||
{
|
{
|
||||||
$result = false;
|
$result = false;
|
||||||
}
|
}
|
||||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
if($callback)
|
||||||
{
|
{
|
||||||
echo $callback . "(".json_encode($result).");";
|
echo $callback . "(".json_encode($result).");";
|
||||||
}
|
}
|
||||||
@ -84,10 +95,14 @@ class Ehealth_portalControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
catch(Exception $e)
|
catch(Exception $e)
|
||||||
{
|
{
|
||||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
if($callback)
|
||||||
{
|
{
|
||||||
echo $callback."(".json_encode($e).");";
|
echo $callback."(".json_encode($e).");";
|
||||||
}
|
}
|
||||||
|
elseif($returnRaw)
|
||||||
|
{
|
||||||
|
echo json_encode($e);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "(".json_encode($e).");";
|
echo "(".json_encode($e).");";
|
||||||
@ -98,10 +113,15 @@ class Ehealth_portalControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if($callback = $jinput->get('callback', null, 'CMD'))
|
// return to a callback function
|
||||||
|
if($callback)
|
||||||
{
|
{
|
||||||
echo $callback."(".json_encode(false).");";
|
echo $callback."(".json_encode(false).");";
|
||||||
}
|
}
|
||||||
|
elseif($returnRaw)
|
||||||
|
{
|
||||||
|
echo json_encode(false);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "(".json_encode(false).");";
|
echo "(".json_encode(false).");";
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage antenatal_care.php
|
@subpackage antenatal_care.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Antenatal_care Controller
|
* Antenatal_care Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
class EhealthportalControllerAntenatal_care extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Antenatal_cares'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Antenatal_cares'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('antenatal_care.access', 'com_ehealth_portal');
|
$access = $user->authorise('antenatal_care.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.antenatal_care.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.antenatal_care.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.antenatal_care.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.antenatal_care.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Antenatal_care', '', array());
|
$model = $this->getModel('Antenatal_care', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=antenatal_cares' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=antenatal_cares' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerAntenatal_care extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage antenatal_cares.php
|
@subpackage antenatal_cares.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Antenatal_cares Controller
|
* Antenatal_cares Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
class EhealthportalControllerAntenatal_cares extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_ANTENATAL_CARES';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_ANTENATAL_CARES';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Antenatal_care', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Antenatal_care', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('antenatal_care.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('antenatal_care.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
|||||||
$model = $this->getModel('Antenatal_cares');
|
$model = $this->getModel('Antenatal_cares');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Antenatal_cares_'.$date->format('jS_F_Y'),'Antenatal cares exported ('.$date->format('jS F, Y').')','antenatal cares');
|
EhealthportalHelper::xls($data,'Antenatal_cares_'.$date->format('jS_F_Y'),'Antenatal cares exported ('.$date->format('jS F, Y').')','antenatal cares');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=antenatal_cares', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=antenatal_cares', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerAntenatal_cares extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('antenatal_care.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('antenatal_care.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Antenatal_cares');
|
$model = $this->getModel('Antenatal_cares');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('antenatal_care_VDM_IMPORTHEADERS', $headers);
|
$session->set('antenatal_care_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'antenatal_cares');
|
$session->set('backto_VDM_IMPORT', 'antenatal_cares');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'antenatal_care');
|
$session->set('dataType_VDM_IMPORTINTO', 'antenatal_care');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_ANTENATAL_CARES');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_ANTENATAL_CARES');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=antenatal_cares', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=antenatal_cares', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage breast_cancer.php
|
@subpackage breast_cancer.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Breast_cancer Controller
|
* Breast_cancer Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
class EhealthportalControllerBreast_cancer extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Breast_cancers'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Breast_cancers'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('breast_cancer.access', 'com_ehealth_portal');
|
$access = $user->authorise('breast_cancer.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.breast_cancer.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.breast_cancer.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.breast_cancer.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.breast_cancer.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Breast_cancer', '', array());
|
$model = $this->getModel('Breast_cancer', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=breast_cancers' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=breast_cancers' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerBreast_cancer extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage breast_cancers.php
|
@subpackage breast_cancers.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Breast_cancers Controller
|
* Breast_cancers Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
class EhealthportalControllerBreast_cancers extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_BREAST_CANCERS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_BREAST_CANCERS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Breast_cancer', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Breast_cancer', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('breast_cancer.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('breast_cancer.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
|||||||
$model = $this->getModel('Breast_cancers');
|
$model = $this->getModel('Breast_cancers');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Breast_cancers_'.$date->format('jS_F_Y'),'Breast cancers exported ('.$date->format('jS F, Y').')','breast cancers');
|
EhealthportalHelper::xls($data,'Breast_cancers_'.$date->format('jS_F_Y'),'Breast cancers exported ('.$date->format('jS F, Y').')','breast cancers');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=breast_cancers', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=breast_cancers', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerBreast_cancers extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('breast_cancer.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('breast_cancer.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Breast_cancers');
|
$model = $this->getModel('Breast_cancers');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('breast_cancer_VDM_IMPORTHEADERS', $headers);
|
$session->set('breast_cancer_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'breast_cancers');
|
$session->set('backto_VDM_IMPORT', 'breast_cancers');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'breast_cancer');
|
$session->set('dataType_VDM_IMPORTINTO', 'breast_cancer');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_BREAST_CANCERS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_BREAST_CANCERS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=breast_cancers', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=breast_cancers', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage cervical_cancer.php
|
@subpackage cervical_cancer.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cervical_cancer Controller
|
* Cervical_cancer Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
class EhealthportalControllerCervical_cancer extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Cervical_cancers'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Cervical_cancers'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('cervical_cancer.access', 'com_ehealth_portal');
|
$access = $user->authorise('cervical_cancer.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.cervical_cancer.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.cervical_cancer.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.cervical_cancer.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.cervical_cancer.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Cervical_cancer', '', array());
|
$model = $this->getModel('Cervical_cancer', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=cervical_cancers' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=cervical_cancers' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerCervical_cancer extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage cervical_cancers.php
|
@subpackage cervical_cancers.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cervical_cancers Controller
|
* Cervical_cancers Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
class EhealthportalControllerCervical_cancers extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_CERVICAL_CANCERS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_CERVICAL_CANCERS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Cervical_cancer', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Cervical_cancer', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('cervical_cancer.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('cervical_cancer.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
|||||||
$model = $this->getModel('Cervical_cancers');
|
$model = $this->getModel('Cervical_cancers');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Cervical_cancers_'.$date->format('jS_F_Y'),'Cervical cancers exported ('.$date->format('jS F, Y').')','cervical cancers');
|
EhealthportalHelper::xls($data,'Cervical_cancers_'.$date->format('jS_F_Y'),'Cervical cancers exported ('.$date->format('jS F, Y').')','cervical cancers');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=cervical_cancers', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=cervical_cancers', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerCervical_cancers extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('cervical_cancer.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('cervical_cancer.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Cervical_cancers');
|
$model = $this->getModel('Cervical_cancers');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('cervical_cancer_VDM_IMPORTHEADERS', $headers);
|
$session->set('cervical_cancer_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'cervical_cancers');
|
$session->set('backto_VDM_IMPORT', 'cervical_cancers');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'cervical_cancer');
|
$session->set('dataType_VDM_IMPORTINTO', 'cervical_cancer');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_CERVICAL_CANCERS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_CERVICAL_CANCERS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=cervical_cancers', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=cervical_cancers', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage clinic.php
|
@subpackage clinic.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clinic Controller
|
* Clinic Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerClinic extends JControllerForm
|
class EhealthportalControllerClinic extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Clinics'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Clinics'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('clinic.access', 'com_ehealth_portal');
|
$access = $user->authorise('clinic.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.clinic.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.clinic.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.clinic.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.clinic.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Clinic', '', array());
|
$model = $this->getModel('Clinic', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=clinics' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=clinics' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerClinic extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage clinics.php
|
@subpackage clinics.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clinics Controller
|
* Clinics Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerClinics extends JControllerAdmin
|
class EhealthportalControllerClinics extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerClinics extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_CLINICS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_CLINICS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerClinics extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Clinic', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Clinic', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerClinics extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('clinic.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('clinic.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerClinics extends JControllerAdmin
|
|||||||
$model = $this->getModel('Clinics');
|
$model = $this->getModel('Clinics');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Clinics_'.$date->format('jS_F_Y'),'Clinics exported ('.$date->format('jS F, Y').')','clinics');
|
EhealthportalHelper::xls($data,'Clinics_'.$date->format('jS_F_Y'),'Clinics exported ('.$date->format('jS F, Y').')','clinics');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=clinics', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=clinics', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerClinics extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('clinic.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('clinic.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Clinics');
|
$model = $this->getModel('Clinics');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('clinic_VDM_IMPORTHEADERS', $headers);
|
$session->set('clinic_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'clinics');
|
$session->set('backto_VDM_IMPORT', 'clinics');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'clinic');
|
$session->set('dataType_VDM_IMPORTINTO', 'clinic');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_CLINICS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_CLINICS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=clinics', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=clinics', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage counseling_type.php
|
@subpackage counseling_type.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Counseling_type Controller
|
* Counseling_type Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerCounseling_type extends JControllerForm
|
class EhealthportalControllerCounseling_type extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Counseling_types'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Counseling_types'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('counseling_type.access', 'com_ehealth_portal');
|
$access = $user->authorise('counseling_type.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.counseling_type.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.counseling_type.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.counseling_type.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.counseling_type.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Counseling_type', '', array());
|
$model = $this->getModel('Counseling_type', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=counseling_types' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=counseling_types' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerCounseling_type extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage counseling_types.php
|
@subpackage counseling_types.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Counseling_types Controller
|
* Counseling_types Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
class EhealthportalControllerCounseling_types extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_COUNSELING_TYPES';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_COUNSELING_TYPES';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Counseling_type', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Counseling_type', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('counseling_type.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('counseling_type.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
|||||||
$model = $this->getModel('Counseling_types');
|
$model = $this->getModel('Counseling_types');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Counseling_types_'.$date->format('jS_F_Y'),'Counseling types exported ('.$date->format('jS F, Y').')','counseling types');
|
EhealthportalHelper::xls($data,'Counseling_types_'.$date->format('jS_F_Y'),'Counseling types exported ('.$date->format('jS F, Y').')','counseling types');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=counseling_types', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=counseling_types', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerCounseling_types extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('counseling_type.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('counseling_type.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Counseling_types');
|
$model = $this->getModel('Counseling_types');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('counseling_type_VDM_IMPORTHEADERS', $headers);
|
$session->set('counseling_type_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'counseling_types');
|
$session->set('backto_VDM_IMPORT', 'counseling_types');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'counseling_type');
|
$session->set('dataType_VDM_IMPORTINTO', 'counseling_type');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_COUNSELING_TYPES');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_COUNSELING_TYPES');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=counseling_types', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=counseling_types', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage diagnosis_type.php
|
@subpackage diagnosis_type.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Diagnosis_type Controller
|
* Diagnosis_type Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
class EhealthportalControllerDiagnosis_type extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Diagnosis_types'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Diagnosis_types'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('diagnosis_type.access', 'com_ehealth_portal');
|
$access = $user->authorise('diagnosis_type.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.diagnosis_type.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.diagnosis_type.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.diagnosis_type.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.diagnosis_type.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Diagnosis_type', '', array());
|
$model = $this->getModel('Diagnosis_type', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=diagnosis_types' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=diagnosis_types' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerDiagnosis_type extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage diagnosis_types.php
|
@subpackage diagnosis_types.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Diagnosis_types Controller
|
* Diagnosis_types Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
class EhealthportalControllerDiagnosis_types extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_DIAGNOSIS_TYPES';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_DIAGNOSIS_TYPES';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Diagnosis_type', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Diagnosis_type', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('diagnosis_type.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('diagnosis_type.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
|||||||
$model = $this->getModel('Diagnosis_types');
|
$model = $this->getModel('Diagnosis_types');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Diagnosis_types_'.$date->format('jS_F_Y'),'Diagnosis types exported ('.$date->format('jS F, Y').')','diagnosis types');
|
EhealthportalHelper::xls($data,'Diagnosis_types_'.$date->format('jS_F_Y'),'Diagnosis types exported ('.$date->format('jS F, Y').')','diagnosis types');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=diagnosis_types', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=diagnosis_types', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerDiagnosis_types extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('diagnosis_type.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('diagnosis_type.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Diagnosis_types');
|
$model = $this->getModel('Diagnosis_types');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('diagnosis_type_VDM_IMPORTHEADERS', $headers);
|
$session->set('diagnosis_type_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'diagnosis_types');
|
$session->set('backto_VDM_IMPORT', 'diagnosis_types');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'diagnosis_type');
|
$session->set('dataType_VDM_IMPORTINTO', 'diagnosis_type');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_DIAGNOSIS_TYPES');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_DIAGNOSIS_TYPES');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=diagnosis_types', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=diagnosis_types', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage ehealth_portal.php
|
@subpackage ehealthportal.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,10 +26,17 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ehealth_portal Controller
|
* Ehealthportal Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerEhealth_portal extends JControllerAdmin
|
class EhealthportalControllerEhealthportal extends AdminController
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage family_planning.php
|
@subpackage family_planning.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Family_planning Controller
|
* Family_planning Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFamily_planning extends JControllerForm
|
class EhealthportalControllerFamily_planning extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Family_plannings'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Family_plannings'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('family_planning.access', 'com_ehealth_portal');
|
$access = $user->authorise('family_planning.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.family_planning.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.family_planning.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.family_planning.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.family_planning.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Family_planning', '', array());
|
$model = $this->getModel('Family_planning', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=family_plannings' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=family_plannings' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerFamily_planning extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage family_plannings.php
|
@subpackage family_plannings.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Family_plannings Controller
|
* Family_plannings Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
class EhealthportalControllerFamily_plannings extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_FAMILY_PLANNINGS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_FAMILY_PLANNINGS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Family_planning', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Family_planning', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('family_planning.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('family_planning.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
|||||||
$model = $this->getModel('Family_plannings');
|
$model = $this->getModel('Family_plannings');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Family_plannings_'.$date->format('jS_F_Y'),'Family plannings exported ('.$date->format('jS F, Y').')','family plannings');
|
EhealthportalHelper::xls($data,'Family_plannings_'.$date->format('jS_F_Y'),'Family plannings exported ('.$date->format('jS F, Y').')','family plannings');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=family_plannings', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=family_plannings', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerFamily_plannings extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('family_planning.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('family_planning.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Family_plannings');
|
$model = $this->getModel('Family_plannings');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('family_planning_VDM_IMPORTHEADERS', $headers);
|
$session->set('family_planning_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'family_plannings');
|
$session->set('backto_VDM_IMPORT', 'family_plannings');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'family_planning');
|
$session->set('dataType_VDM_IMPORTINTO', 'family_planning');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_FAMILY_PLANNINGS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_FAMILY_PLANNINGS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=family_plannings', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=family_plannings', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_engagement.php
|
@subpackage foetal_engagement.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_engagement Controller
|
* Foetal_engagement Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
class EhealthportalControllerFoetal_engagement extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Foetal_engagements'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Foetal_engagements'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('foetal_engagement.access', 'com_ehealth_portal');
|
$access = $user->authorise('foetal_engagement.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.foetal_engagement.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.foetal_engagement.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.foetal_engagement.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.foetal_engagement.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Foetal_engagement', '', array());
|
$model = $this->getModel('Foetal_engagement', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_engagements' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_engagements' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerFoetal_engagement extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_engagements.php
|
@subpackage foetal_engagements.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_engagements Controller
|
* Foetal_engagements Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
class EhealthportalControllerFoetal_engagements extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_FOETAL_ENGAGEMENTS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_FOETAL_ENGAGEMENTS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Foetal_engagement', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Foetal_engagement', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_engagement.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_engagement.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
|||||||
$model = $this->getModel('Foetal_engagements');
|
$model = $this->getModel('Foetal_engagements');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Foetal_engagements_'.$date->format('jS_F_Y'),'Foetal engagements exported ('.$date->format('jS F, Y').')','foetal engagements');
|
EhealthportalHelper::xls($data,'Foetal_engagements_'.$date->format('jS_F_Y'),'Foetal engagements exported ('.$date->format('jS F, Y').')','foetal engagements');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_engagements', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_engagements', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerFoetal_engagements extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_engagement.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_engagement.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Foetal_engagements');
|
$model = $this->getModel('Foetal_engagements');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('foetal_engagement_VDM_IMPORTHEADERS', $headers);
|
$session->set('foetal_engagement_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'foetal_engagements');
|
$session->set('backto_VDM_IMPORT', 'foetal_engagements');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'foetal_engagement');
|
$session->set('dataType_VDM_IMPORTINTO', 'foetal_engagement');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_ENGAGEMENTS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_ENGAGEMENTS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_engagements', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_engagements', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_lie.php
|
@subpackage foetal_lie.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_lie Controller
|
* Foetal_lie Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
class EhealthportalControllerFoetal_lie extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Foetal_lies'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Foetal_lies'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('foetal_lie.access', 'com_ehealth_portal');
|
$access = $user->authorise('foetal_lie.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.foetal_lie.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.foetal_lie.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.foetal_lie.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.foetal_lie.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Foetal_lie', '', array());
|
$model = $this->getModel('Foetal_lie', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_lies' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_lies' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerFoetal_lie extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_lies.php
|
@subpackage foetal_lies.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_lies Controller
|
* Foetal_lies Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
class EhealthportalControllerFoetal_lies extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_FOETAL_LIES';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_FOETAL_LIES';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Foetal_lie', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Foetal_lie', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_lie.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_lie.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
|||||||
$model = $this->getModel('Foetal_lies');
|
$model = $this->getModel('Foetal_lies');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Foetal_lies_'.$date->format('jS_F_Y'),'Foetal lies exported ('.$date->format('jS F, Y').')','foetal lies');
|
EhealthportalHelper::xls($data,'Foetal_lies_'.$date->format('jS_F_Y'),'Foetal lies exported ('.$date->format('jS F, Y').')','foetal lies');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_lies', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_lies', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerFoetal_lies extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_lie.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_lie.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Foetal_lies');
|
$model = $this->getModel('Foetal_lies');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('foetal_lie_VDM_IMPORTHEADERS', $headers);
|
$session->set('foetal_lie_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'foetal_lies');
|
$session->set('backto_VDM_IMPORT', 'foetal_lies');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'foetal_lie');
|
$session->set('dataType_VDM_IMPORTINTO', 'foetal_lie');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_LIES');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_LIES');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_lies', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_lies', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_presentation.php
|
@subpackage foetal_presentation.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use Joomla\CMS\Uri\Uri;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_presentation Controller
|
* Foetal_presentation Form Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
class EhealthportalControllerFoetal_presentation extends FormController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Current or most recently performed task.
|
* Current or most recently performed task.
|
||||||
@ -49,13 +56,13 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function __construct($config = array())
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->view_list = 'Foetal_presentations'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Foetal_presentations'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
* @param array $data An array of input data.
|
* @param array $data An array of input data.
|
||||||
@ -64,18 +71,18 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowAdd($data = array())
|
protected function allowAdd($data = [])
|
||||||
{
|
{
|
||||||
// Get user object.
|
// Get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// Access check.
|
// Access check.
|
||||||
$access = $user->authorise('foetal_presentation.access', 'com_ehealth_portal');
|
$access = $user->authorise('foetal_presentation.access', 'com_ehealthportal');
|
||||||
if (!$access)
|
if (!$access)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,10 +96,10 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function allowEdit($data = array(), $key = 'id')
|
protected function allowEdit($data = [], $key = 'id')
|
||||||
{
|
{
|
||||||
// get user object.
|
// get user object.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
// get record id.
|
// get record id.
|
||||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||||
|
|
||||||
@ -100,10 +107,10 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
if ($recordId)
|
if ($recordId)
|
||||||
{
|
{
|
||||||
// The record has been set. Check the record permissions.
|
// The record has been set. Check the record permissions.
|
||||||
$permission = $user->authorise('core.edit', 'com_ehealth_portal.foetal_presentation.' . (int) $recordId);
|
$permission = $user->authorise('core.edit', 'com_ehealthportal.foetal_presentation.' . (int) $recordId);
|
||||||
if (!$permission)
|
if (!$permission)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal.foetal_presentation.' . $recordId))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal.foetal_presentation.' . $recordId))
|
||||||
{
|
{
|
||||||
// Now test the owner is the user.
|
// Now test the owner is the user.
|
||||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||||
@ -122,7 +129,7 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
// If the owner matches 'me' then allow.
|
// If the owner matches 'me' then allow.
|
||||||
if ($ownerId == $user->id)
|
if ($ownerId == $user->id)
|
||||||
{
|
{
|
||||||
if ($user->authorise('core.edit.own', 'com_ehealth_portal'))
|
if ($user->authorise('core.edit.own', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -156,12 +163,12 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
// set the referral options
|
// set the referral options
|
||||||
if ($refid && $ref)
|
if ($refid && $ref)
|
||||||
{
|
{
|
||||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
$append = '&ref=' . (string) $ref . '&refid='. (int) $refid . $append;
|
||||||
}
|
}
|
||||||
elseif ($ref)
|
elseif ($ref)
|
||||||
{
|
{
|
||||||
$append = '&ref='. (string)$ref . $append;
|
$append = '&ref='. (string) $ref . $append;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $append;
|
return $append;
|
||||||
@ -178,13 +185,13 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
*/
|
*/
|
||||||
public function batch($model = null)
|
public function batch($model = null)
|
||||||
{
|
{
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or jexit(Text::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
// Set the model
|
// Set the model
|
||||||
$model = $this->getModel('Foetal_presentation', '', array());
|
$model = $this->getModel('Foetal_presentation', '', []);
|
||||||
|
|
||||||
// Preset the redirect
|
// Preset the redirect
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_presentations' . $this->getRedirectToListAppend(), false));
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_presentations' . $this->getRedirectToListAppend(), false));
|
||||||
|
|
||||||
return parent::batch($model);
|
return parent::batch($model);
|
||||||
}
|
}
|
||||||
@ -209,13 +216,13 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
$cancel = parent::cancel($key);
|
$cancel = parent::cancel($key);
|
||||||
|
|
||||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
if (!is_null($return) && Uri::isInternal(base64_decode($return)))
|
||||||
{
|
{
|
||||||
$redirect = base64_decode($return);
|
$redirect = base64_decode($return);
|
||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -226,7 +233,7 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -237,7 +244,7 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -263,7 +270,7 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
// Check if there is a return value
|
// Check if there is a return value
|
||||||
$return = $this->input->get('return', null, 'base64');
|
$return = $this->input->get('return', null, 'base64');
|
||||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
$canReturn = (!is_null($return) && Uri::isInternal(base64_decode($return)));
|
||||||
|
|
||||||
if ($this->ref || $this->refid || $canReturn)
|
if ($this->ref || $this->refid || $canReturn)
|
||||||
{
|
{
|
||||||
@ -281,29 +288,29 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
|
|
||||||
// Redirect to the return value.
|
// Redirect to the return value.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
$redirect, false
|
$redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->refid && $this->ref)
|
elseif ($this->refid && $this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
$redirect = '&view=' . (string) $this->ref . '&layout=edit&id=' . (int) $this->refid;
|
||||||
|
|
||||||
// Redirect to the item screen.
|
// Redirect to the item screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
elseif ($this->ref)
|
elseif ($this->ref)
|
||||||
{
|
{
|
||||||
$redirect = '&view=' . (string)$this->ref;
|
$redirect = '&view=' . (string) $this->ref;
|
||||||
|
|
||||||
// Redirect to the list screen.
|
// Redirect to the list screen.
|
||||||
$this->setRedirect(
|
$this->setRedirect(
|
||||||
JRoute::_(
|
Route::_(
|
||||||
'index.php?option=' . $this->option . $redirect, false
|
'index.php?option=' . $this->option . $redirect, false
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -315,16 +322,15 @@ class Ehealth_portalControllerFoetal_presentation extends JControllerForm
|
|||||||
* Function that allows child controller access to model data
|
* Function that allows child controller access to model data
|
||||||
* after the data has been saved.
|
* after the data has been saved.
|
||||||
*
|
*
|
||||||
* @param JModel &$model The data model object.
|
* @param BaseDatabaseModel &$model The data model object.
|
||||||
* @param array $validData The validated data.
|
* @param array $validData The validated data.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 11.1
|
* @since 11.1
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|_|
|
|_|
|
||||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||||
|
|
||||||
@version 1.0.5
|
@version 3.0.0
|
||||||
@build 24th April, 2021
|
@build 19th January, 2024
|
||||||
@created 13th August, 2020
|
@created 19th January, 2024
|
||||||
@package eHealth Portal
|
@package eHealth Portal
|
||||||
@subpackage foetal_presentations.php
|
@subpackage foetal_presentations.php
|
||||||
@author Oh Martin <https://github.com/namibia/eHealth-Portal>
|
@author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
||||||
@copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
@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
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@ -26,12 +26,19 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
use Joomla\CMS\Factory;
|
||||||
|
use Joomla\CMS\Language\Text;
|
||||||
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use Joomla\CMS\Router\Route;
|
||||||
|
use Joomla\CMS\Session\Session;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Foetal_presentations Controller
|
* Foetal_presentations Admin Controller
|
||||||
*/
|
*/
|
||||||
class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
class EhealthportalControllerFoetal_presentations extends AdminController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* The prefix to use with controller messages.
|
* The prefix to use with controller messages.
|
||||||
@ -39,7 +46,7 @@ class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
|||||||
* @var string
|
* @var string
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected $text_prefix = 'COM_EHEALTH_PORTAL_FOETAL_PRESENTATIONS';
|
protected $text_prefix = 'COM_EHEALTHPORTAL_FOETAL_PRESENTATIONS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a model object, loading it if required.
|
* Method to get a model object, loading it if required.
|
||||||
@ -52,7 +59,7 @@ class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
public function getModel($name = 'Foetal_presentation', $prefix = 'Ehealth_portalModel', $config = array('ignore_request' => true))
|
public function getModel($name = 'Foetal_presentation', $prefix = 'EhealthportalModel', $config = array('ignore_request' => true))
|
||||||
{
|
{
|
||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
@ -60,13 +67,13 @@ class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
|||||||
public function exportData()
|
public function exportData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if export is allowed for this user.
|
// check if export is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_presentation.export', 'com_ehealth_portal') && $user->authorise('core.export', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_presentation.export', 'com_ehealthportal') && $user->authorise('core.export', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the input
|
// Get the input
|
||||||
$input = JFactory::getApplication()->input;
|
$input = Factory::getApplication()->input;
|
||||||
$pks = $input->post->get('cid', array(), 'array');
|
$pks = $input->post->get('cid', array(), 'array');
|
||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
$pks = ArrayHelper::toInteger($pks);
|
$pks = ArrayHelper::toInteger($pks);
|
||||||
@ -74,16 +81,16 @@ class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
|||||||
$model = $this->getModel('Foetal_presentations');
|
$model = $this->getModel('Foetal_presentations');
|
||||||
// get the data to export
|
// get the data to export
|
||||||
$data = $model->getExportData($pks);
|
$data = $model->getExportData($pks);
|
||||||
if (Ehealth_portalHelper::checkArray($data))
|
if (UtilitiesArrayHelper::check($data))
|
||||||
{
|
{
|
||||||
// now set the data to the spreadsheet
|
// now set the data to the spreadsheet
|
||||||
$date = JFactory::getDate();
|
$date = Factory::getDate();
|
||||||
Ehealth_portalHelper::xls($data,'Foetal_presentations_'.$date->format('jS_F_Y'),'Foetal presentations exported ('.$date->format('jS F, Y').')','foetal presentations');
|
EhealthportalHelper::xls($data,'Foetal_presentations_'.$date->format('jS_F_Y'),'Foetal presentations exported ('.$date->format('jS F, Y').')','foetal presentations');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_EXPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_EXPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_presentations', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_presentations', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -91,32 +98,32 @@ class Ehealth_portalControllerFoetal_presentations extends JControllerAdmin
|
|||||||
public function importData()
|
public function importData()
|
||||||
{
|
{
|
||||||
// Check for request forgeries
|
// Check for request forgeries
|
||||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
Session::checkToken() or die(Text::_('JINVALID_TOKEN'));
|
||||||
// check if import is allowed for this user.
|
// check if import is allowed for this user.
|
||||||
$user = JFactory::getUser();
|
$user = Factory::getUser();
|
||||||
if ($user->authorise('foetal_presentation.import', 'com_ehealth_portal') && $user->authorise('core.import', 'com_ehealth_portal'))
|
if ($user->authorise('foetal_presentation.import', 'com_ehealthportal') && $user->authorise('core.import', 'com_ehealthportal'))
|
||||||
{
|
{
|
||||||
// Get the import model
|
// Get the import model
|
||||||
$model = $this->getModel('Foetal_presentations');
|
$model = $this->getModel('Foetal_presentations');
|
||||||
// get the headers to import
|
// get the headers to import
|
||||||
$headers = $model->getExImPortHeaders();
|
$headers = $model->getExImPortHeaders();
|
||||||
if (Ehealth_portalHelper::checkObject($headers))
|
if (ObjectHelper::check($headers))
|
||||||
{
|
{
|
||||||
// Load headers to session.
|
// Load headers to session.
|
||||||
$session = JFactory::getSession();
|
$session = Factory::getSession();
|
||||||
$headers = json_encode($headers);
|
$headers = json_encode($headers);
|
||||||
$session->set('foetal_presentation_VDM_IMPORTHEADERS', $headers);
|
$session->set('foetal_presentation_VDM_IMPORTHEADERS', $headers);
|
||||||
$session->set('backto_VDM_IMPORT', 'foetal_presentations');
|
$session->set('backto_VDM_IMPORT', 'foetal_presentations');
|
||||||
$session->set('dataType_VDM_IMPORTINTO', 'foetal_presentation');
|
$session->set('dataType_VDM_IMPORTINTO', 'foetal_presentation');
|
||||||
// Redirect to import view.
|
// Redirect to import view.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_PRESENTATIONS');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_SELECT_FILE_FOR_FOETAL_PRESENTATIONS');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=import', false), $message);
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=import', false), $message);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_EHEALTH_PORTAL_IMPORT_FAILED');
|
$message = Text::_('COM_EHEALTHPORTAL_IMPORT_FAILED');
|
||||||
$this->setRedirect(JRoute::_('index.php?option=com_ehealth_portal&view=foetal_presentations', false), $message, 'error');
|
$this->setRedirect(Route::_('index.php?option=com_ehealthportal&view=foetal_presentations', false), $message, 'error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user