Menu

#3708 Med Health Labs Not Populating Diabetic Flow Sheet

RELEASE_12_1
open-fixed
None
8
2015-09-15
2015-01-23
Vharoone
No

OSCAR build date: Aug 6, 2014 2:04:03 PM
OSCAR build tag: 421
Client browser: FF 17 ESR
Client OS: Windows 7
Preconditions:
1- Have a patient in the system that contains a Diabetic Flow Sheet.
Steps to reproduce:

  1. Make sure the measurements in the report are mapped to Med Health Labs.
    2- If not it can be mapped by clicking on the Admin tab then choosing Customize oscarMeasurements.
  2. Thereafter click Add Measurement Mapping. For this example in the Select unmapped code choose: (EPSILON) GENERAL CHEMISTRY – A1c. Also, in the Select code to map to pick 4584-4-Hemoglobin A1c.
  3. Furthermore, upload the report attached in Oscar.
    Observed:
  4. Go to the patient’s eChart, and click on the A1c measurement there are additional measurements that are present and they do not have a observed date.
  5. Also when you go to the Diabetic Flow sheet it is getting cut off.
  6. The following error is shown on the log:
    Unexpected error.
    org.apache.jasper.JasperException: java.lang.NullPointerException
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at oscar.oscarSecurity.LoginFilter.doFilter(LoginFilter.java:127)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at net.sf.cookierevolver.servlet.CRFilterImpl.doFilter(CRFilterImpl.java:60)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.oscarehr.util.LoggedInUserFilter.doFilter(LoggedInUserFilter.java:60)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.oscarehr.util.DbConnectionFilter.doFilter(DbConnectionFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.oscarehr.util.ResponseDefaultsFilter.doFilter(ResponseDefaultsFilter.java:69)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.oscarehr.util.ProblemCheckFilter.doFilter(ProblemCheckFilter.java:188)
    Caused by: java.lang.NullPointerException
    at oscar.oscarEncounter.oscarMeasurements.bean.EctMeasurementsDataBean.getNumMonths(EctMeasurementsDataBean.java:210)
    at oscar.oscarEncounter.oscarMeasurements.bean.EctMeasurementsDataBean.getNumMonthSinceObserved(EctMeasurementsDataBean.java:202)
    at org.apache.jsp.oscarEncounter.oscarMeasurements.TemplateFlowSheet_jsp._jspService(TemplateFlowSheet_jsp.java:1366)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)

  7. All the General Chemistry results are being mapped to A1c.
    Solution:

  8. In the measurement table the additional results are removed, and for the A1c measurement the observed date is made the same as the entered date.
  9. Lastly if you refresh the diabetic flow sheet you will be able to see the remaining categories.
2 Attachments

Related

Bugs: #3707

Discussion

  • SBek

    SBek - 2015-01-23
    • status: open --> pending
    • Group: OSCAR Main Trunk --> RELEASE_12_1
     
  • SBek

    SBek - 2015-01-23

    Please attach the lab report. Not able to proceed though without the MHL report that needs to be uploaded.

     
  • SBek

    SBek - 2015-01-23

    For the patient security removing the report and will provide the test item when clean it up.

     

    Last edit: SBek 2015-01-23
  • SBek

    SBek - 2015-01-26

    Unable to replicate the exact issue as it appears to be Epsilon labs mapping of the code issue. When (EPSILON) GENERAL CHEMISTRY – A1c is mapped to 4548-4-Hemoglobin A1c, all the (EPSILON) GENERAL CHEMISTRY results are being mapped to A1c.

    Observed: When A1c measurement is mapped to the Epsilon/ MHL Labs, A1c measurement do not show up in the Measurements section in patient's echart.

     
  • SBek

    SBek - 2015-01-26
    • status: pending --> open-accepted
     
  • Vharoone

    Vharoone - 2015-04-07

    Can I get an update on this ticket has it been resolved.

     
  • Sarah Allen

    Sarah Allen - 2015-06-16
    • status: open-accepted --> closed-works-for-me
     
  • Sarah Allen

    Sarah Allen - 2015-06-16

    As mentioned, this appears to be a mapping issue -- if you map (EPSILON) GENERAL CHEMISTRY – A1c to 4548-4-Hemoglobin A1c, the results should show up in the flowsheet.

    If this does not resolve the issue for you, please reopen this ticket.

     
  • Shehzad Merchant

    • status: closed-works-for-me --> open
    • assigned_to: Shehzad Merchant
     
  • Shehzad Merchant

    Issue found out with Epsilon Handler (Med Health Lab).

    Function 'getTimeStamp' retrieves the observation date time from OBX segment's Observation Date Time. It's value is always empty or null in Med Health Lab HL7 Messages. In the DB Flowsheet along with the observation result/value. It also displays the duration of observation/measurement. Due to empty value of observation date time it could not calculate the interval and generates an error.

    Med Health Lab messages populate only Request Date Time and Specimen Received Date Time in OBR (Observation Report) Segment.

    I modified the implementation of function getTimeStamp in Epsilon Handler, now it will retrieve the Specimen Received Date Time.

     
  • SBek

    SBek - 2015-07-29
     
  • SBek

    SBek - 2015-07-29
    • status: open --> open-fixed
     
  • Shehzad Merchant

    EpsilonHandler


    Modify function getObservationHeader(int i, int j)
    Modify function getTimeStamp(int i, int j)
    Add function getOBXIdentifier(int i, int j)
    Modify function getOBXName(int i, int j);

    LabDisplay.jsp


    if (handler.getMsgType().equals("EPSILON")) {
    if (handler.getObservationHeader(j,k).equals(headers.get(i)) && !obxName.equals("")) { %>

    if (!handler.getMsgType().equals("PFHT") && !handler.getMsgType().equals("EPSILON"))

     
MongoDB Logo MongoDB