Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

root/openmrs-modules/chica/metadata/patient_family.hbm.xml

Revision 5569, 1.0 kB (checked in by tmdugan, 3 months ago)

-- chica

* updated openmrs jars
* added greaseboard app
* added manual checkin
* fixed load chica1 obs script
* updated test cases to work with junit4
* added custom randomizers
* moved some tables to atd module

Line 
1 <?xml version="1.0"?>
2 <!DOCTYPE hibernate-mapping PUBLIC
3     "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
5
6 <hibernate-mapping package="org.openmrs.module.chica">
7
8         <class name="org.openmrs.module.chica.hibernateBeans.PatientFamily" table="chica_patient_family">
9                
10         <id name="patientFamilyId" type="java.lang.Integer" column="patient_family_id">
11                         <generator class="native" />
12         </id>
13        
14                 <property name="patientId" type="java.lang.Integer" column="patient_id" />
15                 <property name="familyId" type="java.lang.Integer" column="family_id" />
16                 <property name="creationTime" type="java.util.Date" column="creation_time" />
17                 <property name="flag" type="java.lang.String" column="flag" />
18                 <property name="streetAddress" type="java.lang.String" column="street_address" />
19                 <property name="phoneNum" type="java.lang.String" column="phone_num" />
20                                
21    </class>
22                        
23 </hibernate-mapping>
Note: See TracBrowser for help on using the browser.