
<core:FragmentDefinition xmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"
	xmlns="sap.m"
	xmlns:core="sap.ui.core"
	xmlns:f="sap.ui.layout.form"
	xmlns:macro="sap.fe.macros"
	>
	<template:if test="{= !(${facet>./@com.sap.vocabularies.UI.v1.Hidden} === true)}">
		<template:if  test="{= ${facet>Target/$AnnotationPath}.indexOf('com.sap.vocabularies.Communication.v1.Contact') >= 0}">
			<template:then>
				<template:with path="facet>Target/$AnnotationPath" var="contact">
					<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.EditableHeaderContact" type="XML"/>
				</template:with>
			</template:then>
			<template:else>
				<core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.ObjectPageForm" type="XML"/>
			</template:else>
		</template:if>
    </template:if>
</core:FragmentDefinition>
