Java 类ims.admin.vo.EDAttendanceFeedVo 实例源码

项目:AvoinApotti    文件:HL7EngineOutbound.java   
private String generateADT_A01Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a01mapper.processedCount++;
    try
    {
        Message msg = a01mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a01mapper.successCount++;
            a01mapper.lastSuccessDateTime = new DateTime();
            a01mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a01mapper.errorCount++;
        a01mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A01 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a01mapper.errorCount++;
    a01mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:AvoinApotti    文件:HL7EngineOutbound.java   
private String generateADT_A03Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a03mapper.processedCount++;
    try
    {
        Message msg =a03mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a03mapper.successCount++;
            a03mapper.lastSuccessDateTime = new DateTime();
            a03mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a03mapper.errorCount++;
        a03mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A03 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a03mapper.errorCount++;
    a03mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:AvoinApotti    文件:HL7EngineOutbound.java   
private String generateADT_A13Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a13mapper.processedCount++;
    try
    {
        Message msg = a13mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a13mapper.successCount++;
            a13mapper.lastSuccessDateTime = new DateTime();
            a13mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a13mapper.errorCount++;
        a13mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A13 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a13mapper.errorCount++;
    a13mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openMAXIMS    文件:ADTImpl.java   
public ifEDAttendanceVo getEDAttendanceDetails(IHL7OutboundMessageHandler attendanceRef)
{
    if (attendanceRef instanceof EDAttendanceFeedVo)
    {
        EDAttendanceFeedVo feedVo=(EDAttendanceFeedVo)attendanceRef;
        DomainFactory factory = getDomainFactory();
        String hql = "select queue.attendance from EdAttendanceMessageQueue as queue where queue.id=:id";
        EmergencyAttendance attendance =  (EmergencyAttendance)factory.findFirst(hql,new String[]{"id"},new Object[]{feedVo.getBoId()});
        if (attendance!=null&&attendance.getIsRIE()!=null&&attendance.getIsRIE())
        {
            attendance.setIncludeRecord(true);
        }
    return ifEDAttendanceVoAssembler.create(attendance);
}
else 
{
    return null;
}
}
项目:openMAXIMS    文件:HL7EngineOutbound.java   
private String generateADT_A01Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a01mapper.processedCount++;
    try
    {
        Message msg = a01mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a01mapper.successCount++;
            a01mapper.lastSuccessDateTime = new DateTime();
            a01mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a01mapper.errorCount++;
        a01mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A01 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a01mapper.errorCount++;
    a01mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openMAXIMS    文件:HL7EngineOutbound.java   
private String generateADT_A03Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a03mapper.processedCount++;
    try
    {
        Message msg =a03mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a03mapper.successCount++;
            a03mapper.lastSuccessDateTime = new DateTime();
            a03mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a03mapper.errorCount++;
        a03mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A03 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a03mapper.errorCount++;
    a03mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openMAXIMS    文件:HL7EngineOutbound.java   
private String generateADT_A13Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a13mapper.processedCount++;
    try
    {
        Message msg = a13mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a13mapper.successCount++;
            a13mapper.lastSuccessDateTime = new DateTime();
            a13mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a13mapper.errorCount++;
        a13mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A13 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a13mapper.errorCount++;
    a13mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openmaxims-linux    文件:HL7EngineOutbound.java   
private String generateADT_A01Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a01mapper.processedCount++;
    try
    {
        Message msg = a01mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a01mapper.successCount++;
            a01mapper.lastSuccessDateTime = new DateTime();
            a01mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a01mapper.errorCount++;
        a01mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A01 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a01mapper.errorCount++;
    a01mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openmaxims-linux    文件:HL7EngineOutbound.java   
private String generateADT_A03Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a03mapper.processedCount++;
    try
    {
        Message msg =a03mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a03mapper.successCount++;
            a03mapper.lastSuccessDateTime = new DateTime();
            a03mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a03mapper.errorCount++;
        a03mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A03 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a03mapper.errorCount++;
    a03mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openmaxims-linux    文件:HL7EngineOutbound.java   
private String generateADT_A13Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a13mapper.processedCount++;
    try
    {
        Message msg = a13mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a13mapper.successCount++;
            a13mapper.lastSuccessDateTime = new DateTime();
            a13mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a13mapper.errorCount++;
        a13mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A13 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a13mapper.errorCount++;
    a13mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:AvoinApotti    文件:HL7EngineOutbound.java   
private String generateADT_A08Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a08mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = null;//a08mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a08mapper.successCount++;
            a08mapper.lastSuccessDateTime = new DateTime();
            a08mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a08mapper.errorCount++;
        a08mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A08 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a08mapper.errorCount++;
    a08mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:AvoinApotti    文件:HL7EngineOutbound.java   
private String generateADT_A11Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a11mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = a11mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a11mapper.successCount++;
            a11mapper.lastSuccessDateTime = new DateTime();
            a11mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a11mapper.errorCount++;
        a11mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A11 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a11mapper.errorCount++;
    a11mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openMAXIMS    文件:HL7EngineOutbound.java   
private String generateADT_A08Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a08mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = null;//a08mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a08mapper.successCount++;
            a08mapper.lastSuccessDateTime = new DateTime();
            a08mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a08mapper.errorCount++;
        a08mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A08 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a08mapper.errorCount++;
    a08mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openMAXIMS    文件:HL7EngineOutbound.java   
private String generateADT_A11Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a11mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = a11mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a11mapper.successCount++;
            a11mapper.lastSuccessDateTime = new DateTime();
            a11mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a11mapper.errorCount++;
        a11mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A11 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a11mapper.errorCount++;
    a11mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openmaxims-linux    文件:HL7EngineOutbound.java   
private String generateADT_A08Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a08mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = null;//a08mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a08mapper.successCount++;
            a08mapper.lastSuccessDateTime = new DateTime();
            a08mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a08mapper.errorCount++;
        a08mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A08 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a08mapper.errorCount++;
    a08mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}
项目:openmaxims-linux    文件:HL7EngineOutbound.java   
private String generateADT_A11Message(EDAttendanceFeedVo event) throws HL7Exception 
{
    a11mapper.processedCount++;
    try
    {
        // IfOutOcsOrderVo orderVo= ocsIf.getOrder(order);
        Message msg = a11mapper.populateMessage(event);
        if (msg != null)
        {
            String ret = parser.encode(msg);
            a11mapper.successCount++;
            a11mapper.lastSuccessDateTime = new DateTime();
            a11mapper.lastSuccessMessage = ret;

            return ret;
        }
    }
    catch (Exception e)
    {
        a11mapper.errorCount++;
        a11mapper.lastFailedDateTime = new DateTime();
        throw new HL7Exception("Exception occurred generating A11 Message for HL7App - " + event.getProviderSystem().getHl7Application() + " - " + e.getMessage(), e);
    }
    a11mapper.errorCount++;
    a11mapper.lastFailedDateTime = new DateTime();
    throw new HL7Exception("A null message cannot be parsed!");
}