This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Error processing substanceAdministration with EIVL_TS effectiveTime

description

Error processing EIVL_TS effective time, for example:
            <substanceAdministration classCode="SBADM" moodCode="INT">
              <templateId root="2.16.840.1.113883.10.20.1.24" />
              <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7" />
              <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" />
              <code code="SNOMED CODE FOR ARV TREATMENT" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="ARV Treatment CPT Code" />
              <text representation="TXT" mediaType="text/plain" language="en-CA">
                <reference value="#id28659" />
              </text>
              <statusCode code="completed" />
              <effectiveTime xsi:type="IVL_TS">
                <low value="20140419205850.838-0400" />
              </effectiveTime>
              <effectiveTime xsi:type="EIVL_TS" operator="A">
                <event code="AC" />
                <offset unit="h" value="8" />
              </effectiveTime>

comments

jf03cg wrote Oct 12, 2015 at 2:57 AM

Stack trace is
java.lang.NullPointerException
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:599)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parse(XmlIts1Formatter.java:580)
    at org.marc.everest.formatters.xml.datatypes.r1.util.EIVLFormatter.parse(EIVLFormatter.java:131)
    at org.marc.everest.formatters.xml.datatypes.r1.DatatypeFormatter.parse(DatatypeFormatter.java:396)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:641)
    at org.marc.everest.formatters.xml.its1.ReflectionFormatter.parse(ReflectionFormatter.java:703)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:647)
    at org.marc.everest.formatters.xml.its1.ReflectionFormatter.parse(ReflectionFormatter.java:677)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:647)
    at org.marc.everest.formatters.xml.its1.ReflectionFormatter.parse(ReflectionFormatter.java:703)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:647)
    at org.marc.everest.formatters.xml.its1.ReflectionFormatter.parse(ReflectionFormatter.java:677)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:647)
    at org.marc.everest.formatters.xml.its1.ReflectionFormatter.parse(ReflectionFormatter.java:703)
    at org.marc.everest.formatters.xml.its1.XmlIts1Formatter.parseObjectInternal(XmlIts1Formatter.java:647)
    at org.marc.everest.formatters.xml.its1.