In my previous post, i showed how to use HAPI for parsing HL7 File. But for my current assignment , i am not able to go further on HAPI. Here is my requirement 1. I need to parse Patient lab result ORU^R01 Message type2. Here is the structure of the message MSHPIDORCIN1IN2...IN4DG1....DG4OBR (N times, under each OBR, there can be N number of OBXs)----> OBX1....OBXn----------NTEs(Some time OBX may also contain NTEsNTE(Some times, OBR may not have...
Wednesday, 28 August 2013
Friday, 23 August 2013
ZK Dropupload example
Posted on 04:21 by Unknown
This is another example for ZK Drag and Drop files in the zul. Apart from the official example, i have shown how to add muliple files and store in the DB and also, if browser does not support HTML 5, then user can still use button to upload their files. ChosenboxViewModel.java package demo.combobox.chosenbox;import java.io.File;import java.io.IOException;import java.util.ArrayList;import java.util.Calendar;import java.util.List;import org.zkoss.bind.BindContext;import...
Thursday, 22 August 2013
Hibernate Custom validator to validate Multiple email ids
Posted on 13:02 by Unknown
In my current project, i need to validate email ids where user will be enter more email id in one text area with semicolon as separator. Before storing into DB, i need to check whether all the email ids are valid one. So i decided to create custom Hibernate validator constraint. For more examples and understanding, please check here package com.hibernate;import static java.lang.annotation.ElementType.ANNOTATION_TYPE;import static java.lang.annotation.ElementType.FIELD;import static java.lang.annotation.ElementType.METHOD;import static java.lang.annotation.RetentionPolicy.RUNTIME;import...
ZK List box inline Editing with Add New and Delete action
Posted on 10:33 by Unknown
In my previous example, i showed how to add New record and delete existing record in the inline Editing of grid. This one is same as previous, but i have used ZK List box. Only zul file has been changed, rest all the same code. <zk> <style> .z-label { display:block; } tr.z-row td.z-row-inner { padding: 2px 5px; } .z-row-cnt, .z-column-cnt { text-align: center; } </style> <div apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('demo.grid.inline_editing.InlineEditingViewModel')"> <separator></separator> <separator></separator> <button...
ZK Example for inline Editing with Add New and Delete
Posted on 08:35 by Unknown
I am quite impressed on this demo from ZK. But adding new record and delete existing record is missing as part of typical CRUD. So i thought that we can add that and see how it works. So here is the example on thatZK Version : 6.5.2 Book.java package demo.grid.inline_editing;public class Book { private String author, title ; private boolean editingStatus; public Book(String author, String title, boolean editingStatus) { this.author = author; this.title...
Wednesday, 21 August 2013
How to get Current Date and Time and store in the bean
Posted on 21:18 by Unknown
In some cases, we always want to show the current date and time while adding new order or item, etc in the screen. Here is an example for the same.Assume that you have the Hibernate POJO as follows import java.sql.Time; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; @Temporal(TemporalType.DATE) private Date collectedDate; private Time collectedTime; public Date getCollectedDate() { return collectedDate; } public void setCollectedDate(Date collectedDate) { this.collectedDate = collectedDate; } public Time getCollectedTime()...
Friday, 16 August 2013
Maintaining Patient Insurance
Posted on 00:56 by Unknown
How patient insurances are maintained in the EMR/PMS software's ? Today, software's are maintaining the patient insurance in difference ways. Each method has its own cons and pros. I will list those methods which i found in my past experience. Before getting into detail, let us see the terms "Primary", Secondary, Tertiary and 4th Insurance". In some software, instead of calling 4th Insurance, they will call as Quaternary Insurance. Actually,...
Sunday, 11 August 2013
EDI Transactions
Posted on 09:17 by Unknown
The HIPAA transactions and code set standards are rules that standardize the electronic exchange of health-related administrative information, such as claims forms. The rules are based on electronic data interchange (EDI) standards, which allow for the exchange of information from computer-to-computer without human involvement. A "transaction" is an electronic business document. Under HIPAA, a handful of standardized transactions will replace hundreds...
Friday, 9 August 2013
Health care Coding system
Posted on 04:13 by Unknown
There are different coding system used in Healthcare industry. Let us see one by one now. Let us again recall our first definition as follows "Medical Billing is a Process of Submission of Bills/Claims to the Insurance Company in a specified format for the service rendered (for the treatment given) by the doctor for the patient." Pay more attention to the word "treatment given by the doctor to the patient". How that information passed to the insurance...
ZK upload PDF to server and show in the screen using MVVM
Posted on 03:42 by Unknown
Simple example to upload PDF file in the server and show the content using iframe. <zk> <window id="test" border="normal" height="98%" apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('org.zk.example.FileUploadVM')"> <label value="You are using: ${desktop.webApp.version}" /> <separator></separator> <label value="Example for File upload to the server and display it" /> <separator></separator> <hbox> <label value="Upload any PDF File" /> <button label="Upload"...
Subscribe to:
Posts (Atom)