<?xml version="1.0" encoding="UTF-8"?>
<faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_3.xsd" version="2.3">

	<navigation-rule>
		<navigation-case>
			<from-outcome>home</from-outcome>
			<to-view-id>/home.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>RegisterUser</from-outcome>
			<to-view-id>/profile/RegisterUser.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>AddPatient</from-outcome>
			<to-view-id>/profile/AddPatient.xhtml</to-view-id>
		</navigation-case>
				<navigation-case>
			<from-outcome>AddFamilyDoctor</from-outcome>
			<to-view-id>/profile/AddFamilyDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>AddSpecialistDoctor</from-outcome>
			<to-view-id>/profile/AddSpecialistDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>ChangeFamilyDoctor</from-outcome>
			<to-view-id>/profile/ChangeFamilyDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>ShowPatient</from-outcome>
			<to-view-id>/profile/ShowPatient.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>ShowFamilyDoctor</from-outcome>
			<to-view-id>/profile/ShowFamilyDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>ShowSpecialistDoctor</from-outcome>
			<to-view-id>/profile/ShowSpecialistDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>UpdateSpecialistDoctor</from-outcome>
			<to-view-id>/profile/UpdateSpecialistDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>UpdateFamilyDoctor</from-outcome>
			<to-view-id>/profile/UpdateFamilyDoctor.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>UpdatePatient</from-outcome>
			<to-view-id>/profile/UpdatePatient.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>changecap</from-outcome>
			<to-view-id>/profile/ChangePrimaryHealthCareCenter.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>MedicalTests</from-outcome>
			<to-view-id>/medicaltest/MedicalTests.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>VisitView</from-outcome>
			<to-view-id>/visit/VisitView.xhtml</to-view-id>
		</navigation-case>
		<navigation-case>
			<from-outcome>ManageSpecialties</from-outcome>
			<to-view-id>/systemAdmin/ManageSpecialties.xhtml</to-view-id>
		</navigation-case>
	</navigation-rule>
</faces-config>
