am2990 / chs-iiitd Goto Github PK
View Code? Open in Web Editor NEWMaster Repository For Collaborative Health System
Master Repository For Collaborative Health System
Add feature to search through list of patients/devices etc.
Add patient UUID/ID to the notification being sent to the patients.
replication: sensor board not responding -> back button
java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:310)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at com.iiitd.sensor.pulseox.PulseOxApplication.returnValuetoCaller(PulseOxApplication.java:323)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at com.iiitd.sensor.pulseox.PulseOxApplication.onKeyDown(PulseOxApplication.java:310)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.KeyEvent.dispatch(KeyEvent.java:2632)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.app.Activity.dispatchKeyEvent(Activity.java:2717)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2276)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4090)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4052)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3604)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3657)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3623)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3740)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3631)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3797)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3604)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3657)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3623)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3631)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3604)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3657)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3623)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3773)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3934)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2275)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1916)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1907)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2252)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.os.MessageQueue.nativePollOnce(Native Method)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.os.MessageQueue.next(MessageQueue.java:143)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.os.Looper.loop(Looper.java:122)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5343)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
01-18 15:01:52.565 7306-7306/com.iiitd.navigationexample E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
Provide Admin Page where the user can enter the details of RabbitMQ Server
URL
Username
Password
Port
Add Snackbar Notification to Undo Patient Delete
Provide integration with Spring AMQP rather than JAVA POJO's and Threads
09-08 15:34:41.485 16590-21343/com.iiitd.navigationexample D/﹕ Connection broken: failed to connect to /192.168.43.123 (port 5672): connect failed: EHOSTUNREACH (No route to host)
Add option to observation activity to publish to specific instance.
Add Recycler View instead of List View to accommodate for patient images.
Settings Page in OpenMRS to pick up parameters for RabbitMQ Server
(Use Global Properties)
Required Settings
Username
Password
IP Address
Port
The page will fetch the parameters from the Web Service API
Send data in JSON format from Android Device to the RabbitMQ
Data Format
{
uuid:"uuidkey",
patientname:"name",
gender:M/F
Observations:[ temperature:'32', allergies:[allergy1, allergy2...], pulse:78,oxygen:98,...]
}
JSON Encoder and Decoder Functions
Move Android Projects from Eclipse to Android Studio for better organization and make code ready to push to market.
Handle Connection reset and connection lost exceptions in Publisher and Subscriber Thread
Stack trace
com.rabbitmq.client.ShutdownSignalException: connection error
at com.rabbitmq.client.QueueingConsumer.handle(QueueingConsumer.java:203)
at com.rabbitmq.client.QueueingConsumer.nextDelivery(QueueingConsumer.java:220)
at org.openmrs.module.amqpmodule.web.controller.Subscriber.run(Subscriber.java:83)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.DataInputStream.readUnsignedByte(Unknown Source)
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95)
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:139)
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:536)
Add functionality to store and view patient history
Install CHS Middleware and RabbitMQ Server instance on local VM for easy access and demo.
Configure the Rpi python server to automatically identify sensor types from data it receives and send [0,0] in Json Array in case the sensors are not configured properly
Provide WebAPI URL to retrieve the RabbitMQ settings from DB
Please check the Json Formats from
http://jsonlint.com/
The new Json String coming from server is not valid
Integrate the android app to fetch data from iHealth Web Service
Display patient Age, Gender, UUID and DOB on patient activity page
Add Python server to rc.local to run on startup
Add feature to view notifications received from Doctors and save it to the corresponding patient.
Store Patients Coming in from subscribers in DB in OpenMRS format using Patient Service
http://resources.openmrs.org/doc/org/openmrs/api/package-summary.html
09-08 15:25:40.724 16590-16730/com.iiitd.navigationexample W/System.err﹕ java.net.SocketException: Socket is closed
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.net.DatagramSocket.checkOpen(DatagramSocket.java:440)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.net.DatagramSocket.send(DatagramSocket.java:286)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at com.iiitd.sensor.pulseox.PulseOxApplication$UDPSendTask.doInBackground(PulseOxApplication.java:403)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at com.iiitd.sensor.pulseox.PulseOxApplication$UDPSendTask.doInBackground(PulseOxApplication.java:382)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
09-08 15:25:40.725 16590-16730/com.iiitd.navigationexample W/System.err﹕ at java.lang.Thread.run(Thread.java:818)
Adding New observation for old patient is creating a new entry in patient list
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.