Permalink
Browse files

Merge remote branch 'upstream/master'

  • Loading branch information...
2 parents f0d92f0 + 372ffa4 commit 4c35928228c8818653a86d0d73b18c066bd0c63d @pbugni pbugni committed Mar 5, 2012
@@ -86,8 +86,8 @@ Query.Limit=100
# Username and password to connect to the CDS database.
CDS.driver=com.mysql.jdbc.Driver
CDS.url=jdbc:mysql://localhost/cds
-CDS.username=oecuser
-CDS.password=yourPassword
+CDS.username=OECusername
+CDS.password=password
# Queue Manager Polling interval, in seconds (shorten for debugging)
QueueManager.PollingIntervalSeconds=600
@@ -1,33 +0,0 @@
-#
-# ESB - Enterprise Service Bus - OpenEMRConnect Runtime Properties file
-#
-# (comments starting with a pound sign "#" are ignored)
-#------------------------------------------------------
-
-# Name of this running instance using the OpenEMRConnect library
-Instance.Name=Enterprise Service Bus
-
-# Address of this running instance using the OpenEMRConnect library
-Instance.Address=ke.go.moh.esb
-
-# Addresses of other end systems we talk with
-LoggingServer.Address=ke.go.moh.loggingServer
-
-# IP Address/port corresponding to each message destination (or wildcard)
-IPAddressPort.ke.go.moh.mpi=localhost:9711/zip/length/md5
-IPAddressPort.ke.go.moh.loggingServer=localhost:9712/zip/length/md5
-IPAddressPort.org.kemri.kisumu.hdss=localhost:9713/zip/length/md5
-IPAddressPort.ke.go.moh.facility.14080=localhost:9720/zip/length/md5/maxSize=5000
-#IPAddressPort.*=169.254.20.86:9720/zip/length/md5
-
-# Port on which the HTTPHandler listens for incoming HTTP requests
-HTTPHandler.ListenPort=9710
-
-# Logger level (default is INFO, set to ALL for debugging & tracing)
-Logger.Level=FINE
-
-# Logger logs to a local file: TRUE if desired, FALSE or missing if not.
-Logger.File=TRUE
-
-# Queue Manager Polling interval, in seconds (shorten for debugging)
-QueueManager.PollingIntervalSeconds=600
@@ -1,34 +0,0 @@
-#
-# FSB - Facility Service Bus - OpenEMRConnect Runtime Properties file
-#
-# (comments starting with a pound sign "#" are ignored)
-#------------------------------------------------------
-
-# Name of this running instance using the OpenEMRConnect library
-Instance.Name=Facility Service Bus
-
-# Address of this running instance using the OpenEMRConnect library
-Instance.Address=ke.go.moh.fsb
-
-# Addresses of other end systems we talk with
-LoggingServer.Address=ke.go.moh.loggingServer
-
-# IP Address/port corresponding to each message destination (or wildcard)
-IPAddressPort.ke.go.moh.facility.14080.lpi=localhost:9721/zip/length/md5
-IPAddressPort.ke.go.moh.facility.14080.cds=localhost:9722/zip/length/md5
-IPAddressPort.ke.go.moh.facility.14080.tb.reception=localhost:9723/zip/length/md5
-IPAddressPort.ke.go.moh.facility.14080.mch.reception=localhost:9724/zip/length/md5
-#IPAddressPort.ke.go.moh.loggingServer=localhost:9712/length/md5
-IPAddressPort.*=mpi-kek1:9710/zip/length/md5
-
-# Port on which the HTTPHandler listens for incoming HTTP requests
-HTTPHandler.ListenPort=9720
-
-# Logger level (default is INFO, set to ALL for debugging & tracing)
-Logger.Level=FINER
-
-# Logger logs to a local file: TRUE if desired, FALSE or missing if not.
-Logger.File=TRUE
-
-# Queue Manager Polling interval, in seconds (shorten for debugging)
-QueueManager.PollingIntervalSeconds=600
@@ -1,46 +0,0 @@
-#
-# MPI - Master Person Index - OpenEMRConnect Runtime Properties file
-#
-# (comments starting with a pound sign "#" are ignored)
-#------------------------------------------------------
-
-# Name of this running instance using the OpenEMRConnect library
-Instance.Name=Master Person Index
-
-# Address of this running instance using the OpenEMRConnect library
-Instance.Address=ke.go.moh.mpi
-
-# Addresses of other end systems we talk with
-HDSS.Address=org.kemri.kisumu.hdss
-LoggingServer.Address=ke.go.moh.loggingServer
-
-# IP Address/port corresponding to each message destination (or wildcard)
-# IPAddressPort.ke.go.moh.loggingServer=localhost:9712/zip/length/md5
-# IPAddressPort.ke.go.moh.facility.14080.tb.reception=localhost:9724/zip/length/md5
-# IPAddressPort.ke.go.moh.facility.14080.cds=localhost:9722/zip/length/md5
-# IPAddressPort.ke.go.moh.mpi=localhost:9711/zip/length/md5
-# IPAddressPort.org.kemri.kisumu.hdss=localhost:9713/zip/length/md5
-IPAddressPort.*=mpi-kek1:9710/zip/length/md5
-
-# Port on which the HTTPHandler listens for incoming HTTP requests
-HTTPHandler.ListenPort=9711
-
-# Logger level (default is INFO, set to ALL for debugging & tracing)
-Logger.Level=FINE
-
-# Logger logs to a local file: TRUE if desired, FALSE or missing if not.
-Logger.File=TRUE
-
-# Query limit on number of persons loaded from the database.
-# Set to 0 (unlimited) for production use.
-# Set to something smaller if you like for debugging and testing.
-# Query.Limit=1000
-
-# Username and password to connect to the MPI database.
-MPI.driver=com.mysql.jdbc.Driver
-MPI.url=jdbc:mysql://localhost/mpi
-MPI.username=root
-MPI.password=2itgr82cu
-
-# Queue Manager Polling interval, in seconds (shorten for debugging)
-QueueManager.PollingIntervalSeconds=600
@@ -1,44 +0,0 @@
-#
-# LPI - Local Person Index - OpenEMRConnect Runtime Properties file
-#
-# (comments starting with a pound sign "#" are ignored)
-#------------------------------------------------------
-
-# Name of this running instance using the OpenEMRConnect library
-Instance.Name=Local Person Index
-
-# Address of this running instance using the OpenEMRConnect library
-Instance.Address=ke.go.moh.facility.14080.lpi
-
-# Addresses of other end systems we talk with
-HDSS.Address=org.kemri.kisumu.hdss
-LoggingServer.Address=ke.go.moh.loggingServer
-
-# IP Address/port corresponding to each message destination (or wildcard)
-#IPAddressPort.ke.go.moh.loggingServer=localhost:9712/zip/length/md5
-#IPAddressPort.ke.go.moh.facility.14080.mch.reception=localhost:9723/zip/length/md5
-# IPAddressPort.ke.go.moh.facility.14080.lpi=localhost:9721/zip/length/md5
-IPAddressPort.*=localhost:9720/zip/length/md5
-
-# Port on which the HTTPHandler listens for incoming HTTP requests
-HTTPHandler.ListenPort=9721
-
-# Logger level (default is INFO, set to ALL for debugging & tracing)
-Logger.Level=FINE
-
-# Logger logs to a local file: TRUE if desired, FALSE or missing if not.
-Logger.File=TRUE
-
-# Query limit on number of persons loaded from the database.
-# Set to 0 (unlimited) for production use.
-# Set to something smaller if you like for debugging and testing.
-# Query.Limit=1000
-
-# Username and password to connect to the MPI database.
-MPI.driver=com.mysql.jdbc.Driver
-MPI.url=jdbc:mysql://localhost/lpi
-MPI.username=root
-MPI.password=admin
-
-# Queue Manager Polling interval, in seconds (shorten for debugging)
-QueueManager.PollingIntervalSeconds=600
@@ -1,98 +0,0 @@
-#
-# MPI - Master Person Index - OpenEMRConnect Runtime Properties file
-#
-# (comments starting with a pound sign "#" are ignored)
-#------------------------------------------------------
-
-# Name of this running instance using the OpenEMRConnect library
-Instance.Name=Master Person Index
-
-# Address of this running instance using the OpenEMRConnect library
-Instance.Address=ke.go.moh.mpi
-
-# Application addresses of other end systems we talk with.
-# These entries translate a logical address (such as LoggingServer)
-# into the implementation-specific "Application Address" where they can be found.
-#
-# The purpose of this is that message types in the OEC Library have a
-# default logical address to which they will be delivered. This logical
-# address is independant of any implementation configuration.
-#
-# Also, some logical destinations are for a local resource, for example
-# the Local Person Index (LPI) or the local Clinical Document Store (CDS).
-# These logical addresses must be translated to application addresses depending
-# on which local resource is the appropriate one. (or example, within
-# the facility ke.go.moh.facility.14080, the following addresses should be
-# defined for the local LPI and CDS resources:
-#
-# LPI.Address=ke.go.moh.facility.14080.lpi
-# CDS.Address=ke.go.moh.facility.14080.cds
-#
-# Note that application addresses only need to be defined for systems to which
-# we will send messages.
-HDSS.Address=org.kemri.kisumu.hdss
-LoggingServer.Address=ke.go.moh.loggingServer
-
-# IP Address/port corresponding to each message destination (or wildcard).
-# These entries tranlate an "Application Address" into an IP address and port number
-#
-# The format of each entry is IPAddressPort.(application address)=ipAddress:port[switches]
-# Where:
-#
-# (application address) is an application address destination or wildcard (see below).
-# ipAddress:port is the next hop IP address and port to where messages for that
-# address should be sent (either the destination or an intermediate system).
-# [switches] are optional switches as follows:
-# /zip Always use Zip compression on messages sent to this next hop.
-# /maxSize=n Send maximum size payloads of n bytes to this next hop (segment if needed).
-# /length Require HTTP length header on messages from this next hop.
-# /md5 Require HTTP MD5 checksum header on messages from this next hop.
-#
-# Application addresses are processed as follows: If a message is to be sent to an
-# application address, first the entire application address is looked up. If is is
-# found, then the message is sent to the corresponding IP address and port.
-# If not, the last segment (after the last ".") is stripped off and the resulting
-# prefix address is searched for. This process is continued until a prefix is found.
-# If no prefix is found, the default address "*" is retrieved and used.
-#
-# For example, if the destination address is ke.go.moh.facility.14080.tb.reception,
-# the following entries are looked for. The first one found is used:
-#
-# IPAddressPort.ke.go.moh.facility.14080.tb.reception
-# IPAddressPort.ke.go.moh.facility.14080.tb
-# IPAddressPort.ke.go.moh.facility.14080
-# IPAddressPort.ke.go.moh.facility
-# IPAddressPort.ke.go.moh
-# IPAddressPort.ke.go
-# IPAddressPort.ke
-# IPAddressPort.*
-#
-# IPAddressPort.ke.go.moh.loggingServer=localhost:9712/zip/length/md5
-# IPAddressPort.ke.go.moh.facility.14080.tb.reception=localhost:9724/zip/length/md5
-# IPAddressPort.ke.go.moh.facility.14080.cds=localhost:9722/zip/length/md5
-# IPAddressPort.ke.go.moh.mpi=localhost:9711/zip/length/md5
-# IPAddressPort.org.kemri.kisumu.hdss=localhost:9713/zip/length/md5
-IPAddressPort.*=localhost:9710/zip/length/md5
-
-# Port on which the HTTPHandler listens for incoming HTTP requests
-HTTPHandler.ListenPort=9711
-
-# Logger level (default is INFO, set to ALL for debugging & tracing)
-Logger.Level=FINE
-
-# Logger logs to a local file: TRUE if desired, FALSE or missing if not.
-Logger.File=TRUE
-
-# Query limit on number of persons loaded from the database.
-# Set to 0 (unlimited) for production use.
-# Set to something smaller if you like for debugging and testing.
-# Query.Limit=1000
-
-# Username and password to connect to the MPI database.
-MPI.driver=com.mysql.jdbc.Driver
-MPI.url=jdbc:mysql://localhost/mpi
-MPI.username=root
-MPI.password=root
-
-# Queue Manager Polling interval, in seconds (shorten for debugging)
-QueueManager.PollingIntervalSeconds=6
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context antiJARLocking="true" path=""/>
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Wed Feb 08 12:27:54 EAT 2012
+version=0.0.1-SNAPSHOT
+groupId=ke.go.moh
+artifactId=oec2.interface
Binary file not shown.
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context antiJARLocking="true" path=""/>
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
+
+
+ <bean id="viewResolver"
+ class="org.springframework.web.servlet.view.InternalResourceViewResolver"
+ p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" />
+
+
+ <context:component-scan base-package="ke.go.moh.oec.pisinterfaces.controller" />
+
+ <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
+
+ <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />
+
+</beans>
@@ -0,0 +1,59 @@
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+
+<html>
+
+<head>
+
+<title>Patient Request Form</title>
+</head>
+
+<body>
+
+ <form:form method="POST" commandName="patientIdentification">
+
+ <table>
+
+ <tr>
+
+ <td>Patient Identification:</td>
+ <td><form:input path="identification" />
+ </td>
+ </tr>
+ <tr>
+
+ <td>Type of the Id</td>
+ <td><form:select path="identificationType">
+
+ <form:option value="0" label="Select" />
+
+ <form:option value="1" label="ClinicalId" />
+
+ <form:option value="2" label="HDSS" />
+
+
+ </form:select>
+ </td>
+ </tr>
+ <tr>
+
+ <td>Source :</td>
+
+ <td><form:radiobutton path="RequestSource" value="PIS"
+ label="PIS" /> <form:radiobutton path="RequestSource" value="EMR"
+ label="EMR" /></td>
+
+ </tr>
+ <tr>
+
+ <td colspan="2"><input type="submit">
+ </td>
+
+ </tr>
+
+ </table>
+
+ </form:form>
+
+</body>
+
+</html>
@@ -0,0 +1,12 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+
+</body>
+</html>
@@ -0,0 +1,12 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+${params[0] }
+</body>
+</html>
Oops, something went wrong.

0 comments on commit 4c35928

Please sign in to comment.