This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openmrs.module.mergepatientdata.api.model.audit; | |
import java.util.Date; | |
import java.util.HashMap; | |
import java.util.List; | |
import org.openmrs.module.mergepatientdata.enums.Operation; | |
import org.openmrs.module.mergepatientdata.enums.Status; | |
public class AuditMessage { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> | |
<hibernate-mapping package="org.openmrs.module.mergepatientdata.api.model.audit"> | |
<class name="AuditMessage" table="mergepatientdata_audit_message"> | |
<id column="mergepatientdata_audit_id" name="id" unsaved-value="0"> | |
<generator class="native"> | |
<param name="sequence">mergepatientdata_audit_id_seq</param> | |
</generator> | |
</id> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module configVersion="1.2"> | |
<!-- Base Module Properties --> | |
<id>${project.parent.artifactId}</id> | |
<name>${project.parent.name}</name> | |
<version>${project.parent.version}</version> | |
<package>org.openmrs.module.mergepatientdata</package> | |
<author>Samuel34</author> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Beans to add to the current Application context definition --> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:p="http://www.springframework.org/schema/p" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:jee="http://www.springframework.org/schema/jee" | |
xmlns:tx="http://www.springframework.org/schema/tx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.openmrs.module.mergepatientdata.api.model.audit; | |
import java.util.Date; | |
import org.hibernate.annotations.Persister; | |
import org.hibernate.persister.entity.SingleTableEntityPersister; | |
@Persister(impl = SingleTableEntityPersister.class) | |
public class AuditMessage { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ModelAndView viewPersonDetailsById(PersonBean personbean,Model model) { | |
if (personbean.getCheckedIds()!= null) { | |
Integer [] ids = personbean.getCheckedIds(); | |
List <PersonBean> people = new ArrayList<PersonBean>(); | |
//Iterate over the ids and get matching 'Personels' required in next view | |
for (Integer id : ids) { | |
//Get the Person |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="list"> | |
<c:forEach items="${people}" var="person"> | |
<tr> | |
<td>${person.name}</td> | |
<td>${person.birthDate}</td> | |
<td>${person.status}</td> | |
</tr> | |
</c:forEach> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ include file="../manage/localHeader.jsp"%> | |
<openmrs:require privilege="Manage Data Set Definitions" otherwise="/login.htm" redirect="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition" /> | |
<script type="text/javascript" charset="utf-8"> | |
$j(document).ready(function() { | |
// Redirect to listing page | |
$j('#cancel-button').click(function(event){ | |
window.location.href='<c:url value="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition"/>'; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ include file="../manage/localHeader.jsp"%> | |
<openmrs:require privilege="Manage Data Set Definitions" otherwise="/login.htm" redirect="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition" /> | |
<script type="text/javascript" charset="utf-8"> | |
$j(document).ready(function() { | |
// Redirect to listing page | |
$j('#cancel-button').click(function(event){ | |
window.location.href='<c:url value="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition"/>'; | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ include file="../manage/localHeader.jsp"%> | |
<openmrs:require privilege="Manage Data Set Definitions" otherwise="/login.htm" redirect="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition" /> | |
<script type="text/javascript" charset="utf-8"> | |
$j(document).ready(function() { | |
// Redirect to listing page | |
$j('#cancel-button').click(function(event){ | |
window.location.href='<c:url value="/module/reporting/definition/manageDefinitions.form?type=org.openmrs.module.reporting.dataset.definition.DataSetDefinition"/>'; | |
}); |
OlderNewer