Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

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

Revision 3727, 1.0 kB (checked in by tmdugan, 10 months ago)

-- chica

* cleaned up psf_statistics and added pws_statistics
* added study_attribute and study_attribute_value tables

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.Study" table="chica_study">
9                
10                 <id name="studyId" type="java.lang.Integer" column="study_id">
11                         <generator class="native" />
12                 </id>
13        
14             <property name="startDate" type="java.util.Date" column="start_date" />
15             <property name="endDate" type="java.util.Date" column="end_date" />
16             <property name="title" type="java.lang.String" column="title" />
17             <property name="investigators" type="java.lang.String" column="investigators" />
18                 <property name="studyConceptId" type="java.lang.Integer" column="study_concept_id" />
19                 <property column="status" name="status" type="boolean" />
20                 <property name="purpose" type="java.lang.String" column="purpose" />
21                
22         </class>
23        
24 </hibernate-mapping>
Note: See TracBrowser for help on using the browser.