<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">


<hibernate-mapping default-lazy="false" default-cascade="all">
    <class entity-name="careCoordinator" table="CARE_COORDINATOR" lazy="false" name="gov.va.med.cds.template.generated.surveyscommon.CareCoordinator">
        <id name="idH" type="java.lang.Long">
            <column name="CARE_COORDINATOR_ID"/>
            <generator class="sequence" >
				<param name="sequence">care_coordinator_seq_id</param>
			</generator>
        </id>

		<property name="id" column="CC_IDENTIFIER" type="java.lang.String"/>

        <component name="name" class="gov.va.med.cds.template.generated.surveyscommon.SurveyPersonName">
			<property name="family" column="CC_FAMILY_NAME" type="java.lang.String"/>
			<property name="given" column="CC_GIVEN_NAME" type="java.lang.String"/>
			<property name="middle" column="CC_MIDDLE_NAME" type="java.lang.String"/>
		</component>

    </class>

</hibernate-mapping>
