- assigned_to: Nick
CMS import of demographic info for parent with child from Practice Solutions.
<ns2:PatientRecord
<ns2:Demographics parent info is here (Names, DateOfBirth, HealthCard, ChartNumber, Gender, etc
<ns2:contact>
<ns2:contactpurpose>
<ns1:purposeasplaintext xmlns="cds_dt">Child</ns1:purposeasplaintext>
</ns2:contactpurpose>
<ns2:name><ns1:firstname>BENJAMIN</ns1:firstname>
<ns1:middlename>
<ns1:lastname>CHAMBERLAIN</ns1:lastname>
</ns1:middlename></ns2:name>
<ns2:phonenumber phonenumbertype="R"><ns1:phonenumber>##########</ns1:phonenumber>
</ns2:phonenumber>
<ns2:note>
</ns2:note></ns2:contact>
Child has no birthdate specified. When Child demographic is entered, DOB is set to 0000-00-00
Now, when the child record is loaded from another file, the procedure fails with:
2014-03-06 21:15:51,682 ERROR [ImportDemographicDataAction4:275] Error
java.text.ParseException: Unparseable date: ""
at java.text.DateFormat.parse(DateFormat.java:337)
Similar problem if order is reversed and child record is loaded before parent.
I have sample data to test with. earlwer@gmail.com