<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
	<name>COM_EHEALTH_PORTAL</name>
	<creationDate>24th April, 2021</creationDate>
	<author>Oh Martin</author>
	<authorEmail>oh.martin@vdm.io</authorEmail>
	<authorUrl>https://github.com/namibia/eHealth-Portal</authorUrl>
	<copyright>Copyright (C) 2020 Vast Development Method. All rights reserved.</copyright>
	<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
	<version>1.0.5</version>
	<description><![CDATA[
		<h1>eHealth Portal (v.1.0.5)</h1>
		<div style="clear: both;"></div>
		<p>eHealth Portal is a secure web-based viewer that offers health care providers that may not have access to one of the provincial clinical viewers, a single point of access to their patients' digital health information.</p>
		<p>Created by <a href="https://github.com/namibia/eHealth-Portal" target="_blank">Oh Martin</a><br /><small>Development started 13th August, 2020</small></p>
	]]></description>

	<!-- Runs on install; New in Joomla 1.5 -->
	<install>
		<sql>
			<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
		</sql>
	</install>

	<!-- Runs on uninstall; New in Joomla 1.5 -->
	<uninstall>
		<sql>
			<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
		</sql>
	</uninstall>

	<!-- Runs on install/uninstall/update; New in Joomla 2.5 -->
	<scriptfile>script.php</scriptfile>

	<media destination="com_ehealth_portal" folder="media">
		<filename>index.html</filename>
		<folder>js</folder>
		<folder>css</folder>
		<folder>images</folder>
	</media>

	<!-- Update Schema; New in Joomla 2.5 -->
	<update>
		<schemas>
			<schemapath type="mysql">sql/updates/mysql/</schemapath>
		</schemas>
	</update>

	

	

	<administration>
		<menu>COM_EHEALTH_PORTAL_MENU</menu>
		<submenu>
			<!-- Instead of link you can specify individual link attributes -->
			<menu option="com_ehealth_portal" view="payments">COM_EHEALTH_PORTAL_MENU_PAYMENTS</menu>
			<menu option="com_ehealth_portal" view="general_medical_check_ups">COM_EHEALTH_PORTAL_MENU_GENERAL_MEDICAL_CHECK_UPS</menu>
			<menu option="com_ehealth_portal" view="antenatal_cares">COM_EHEALTH_PORTAL_MENU_ANTENATAL_CARES</menu>
			<menu option="com_ehealth_portal" view="immunisations">COM_EHEALTH_PORTAL_MENU_IMMUNISATIONS</menu>
			<menu option="com_ehealth_portal" view="vmmcs">COM_EHEALTH_PORTAL_MENU_VMMCS</menu>
			<menu option="com_ehealth_portal" view="prostate_and_testicular_cancers">COM_EHEALTH_PORTAL_MENU_PROSTATE_AND_TESTICULAR_CANCERS</menu>
			<menu option="com_ehealth_portal" view="tuberculoses">COM_EHEALTH_PORTAL_MENU_TUBERCULOSES</menu>
			<menu option="com_ehealth_portal" view="hiv_counselings_and_testings">COM_EHEALTH_PORTAL_MENU_HIV_COUNSELINGS_AND_TESTINGS</menu>
			<menu option="com_ehealth_portal" view="family_plannings">COM_EHEALTH_PORTAL_MENU_FAMILY_PLANNINGS</menu>
			<menu option="com_ehealth_portal" view="health_educations">COM_EHEALTH_PORTAL_MENU_HEALTH_EDUCATIONS</menu>
			<menu option="com_ehealth_portal" view="cervical_cancers">COM_EHEALTH_PORTAL_MENU_CERVICAL_CANCERS</menu>
			<menu option="com_ehealth_portal" view="breast_cancers">COM_EHEALTH_PORTAL_MENU_BREAST_CANCERS</menu>
			<menu option="com_ehealth_portal" view="tests">COM_EHEALTH_PORTAL_MENU_TESTS</menu>
			<menu option="com_ehealth_portal" view="patient_queue">COM_EHEALTH_PORTAL_MENU_PATIENT_QUEUE</menu>
		</submenu>
		<files folder="admin">
			<filename>access.xml</filename>
			<filename>config.xml</filename>
			<filename>controller.php</filename>
			<filename>index.html</filename>
			<filename>ehealth_portal.php</filename>
			<filename>README.txt</filename>
			<folder>assets</folder>
			<folder>controllers</folder>
			<folder>helpers</folder>
			<folder>models</folder>
			<folder>sql</folder>
			<folder>tables</folder>
			<folder>views</folder>
			<folder>layouts</folder>
		</files>

		<languages folder="admin">
			<language tag="en-GB">language/en-GB/en-GB.com_ehealth_portal.ini</language>
			<language tag="en-GB">language/en-GB/en-GB.com_ehealth_portal.sys.ini</language>
		</languages>

	</administration>
</extension>