This is what the header of the .xml file looks like (edited items in bold):
<?xml version="1.0"?><?mso-infoPathSolution href="http://192.168.0.32:8080/openmrs/moduleServlet/formentry/forms/21-1.0-98.xsn" solutionVersion="1.0.0.98" PIVersion="1.0.0.0" language="en-us" productVersion="12.0.0" ?><?mso-application progid="InfoPath.Document"?> <form id="77" name="Verbal Autopsy Neonatal Form" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xmlns:openmrs="http://192.168.0.32:8080/openmrs/moduleServlet/formentry/forms/schema/21-98"> <header> <enterer>1^Super User</enterer> <date_entered>2012-01-30T10:05:01+03:00</date_entered> <session>DB6E50B2FD8D565867BF97529C85B483</session> <uid>VwoTotjBRpujicnbOpTh</uid> </header> <patient> <person.location openmrs_attribute="address1" openmrs_table="patient_address"/> <person.village openmrs_attribute="city_village" openmrs_table="patient_address"/> <person.sublocation openmrs_attribute="address2" openmrs_table="patient_address"/> <patient.birthdate openmrs_attribute="birthdate" openmrs_table="patient">20110724</patient.birthdate> <patient.birthdate_estimated openmrs_attribute="birthdate_estimated" openmrs_table="patient"/> <patient.family_name openmrs_attribute="family_name" openmrs_table="patient_name">VA</patient.family_name> <patient.given_name openmrs_attribute="given_name" openmrs_table="patient_name">Patient</patient.given_name> <patient.clinic_id openmrs_attribute="clinic_id" openmrs_table="patient_identifier">EKVA01</patient.clinic_id> <patient.medical_record_number openmrs_attribute="identifier" openmrs_table="patient_identifier"/> <patient.middle_name openmrs_attribute="middle_name" openmrs_table="patient_name"/> <patient.patient_id openmrs_attribute="patient_id" openmrs_table="patient">393</patient.patient_id> <person.headofhousehold openmrs_attribute="value" openmrs_table="person_attribute"/> <patient.sex openmrs_attribute="gender" openmrs_table="patient">F</patient.sex> <patient_address.address1 openmrs_attribute="address1" openmrs_table="patient_address"/> <patient_address.address2 openmrs_attribute="address2" openmrs_table="patient_address"/> </patient> <encounter> <encounter.encounter_datetime openmrs_attribute="encounter_datetime" openmrs_table="encounter">2012-01-31</encounter.encounter_datetime> <encounter.location_id openmrs_attribute="location_id" openmrs_table="encounter">1</encounter.location_id> <encounter.provider_id openmrs_attribute="provider_id" openmrs_table="encounter">2</encounter.provider_id> -------------------- Andrew S. Kanter, MD MPH - Director of Health Information Systems/Medical Informatics Millennium Villages Project, Earth Institute, Columbia University - Asst. Prof. of Clinical Biomedical Informatics and Clinical Epidemiology Columbia University Email: [email protected] Mobile: +1 (646) 469-2421 Office: +1 (212) 305-4842 Skype: akanter-ippnw Yahoo: andy_kanter >________________________________ > From: Andrew Kanter <[email protected]> >To: [email protected] >Sent: Wednesday, February 29, 2012 5:07 AM >Subject: [OPENMRS-IMPLEMENTERS] Copying infopath submissions to a new server > > >We have a bunch of forms which were submitted on an openmrs server using >Infopath. We were not using remote formentry but we want to move those forms >to a different server. The archive folder contains .xml files. I edited the >.xml to replace the form id, user ID, patient ID, location ID to match the new >system. I had assumed that the formentry module would not be able to create >the patient, so I manually created the patient in the new server and ensured >that the patient ID matched. > > >I put the .xml file into the formentry/queue folder. Nothing happened. No >errors in server log. >I thought maybe xforms would process it... so tried moving it to the >xforms/queue folder.... no luck... >Even tried xformhelper/queue folder.... > > >Any tricks to doing this, or I am stuck and have to reenter the information? > > >Thanks! >Andy > >-------------------- >Andrew S. Kanter, MD MPH > >- Director of Health Information Systems/Medical Informatics >Millennium Villages Project, Earth Institute, Columbia University >- Asst. Prof. of Clinical Biomedical Informatics and Clinical Epidemiology >Columbia University > >Email: [email protected] >Mobile: +1 (646) 469-2421 >Office: +1 (212) 305-4842 >Skype: akanter-ippnw >Yahoo: andy_kanter >________________________________ > Click here to unsubscribe from OpenMRS Implementers' mailing list > > _________________________________________ To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-implement-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

