We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

The Event CRF you are trying to update does not have the correct status when importing data

I am automatizing the import of data from an older system to OC 3.12. So far, I have added a WebService that registers the subject into the study, and I am trying to import the data through xml.

Now, I am getting an error message stating "The Event CRF you are trying to update does not have the correct status when importing data", and I cannot find any reference to this error.

The OID of the event is correct, the event is shown as unscheduled, repeating, available (I have also tried switching to non-repeating, for the same result). I have no issues at all creating the event and inputting data through the webapp.

What could it be? My file is:
<?xml version="1.0" encoding="US-ASCII" standalone="yes"?>




  • GerbenRienkGerbenRienk Posts: 833 ✭✭✭
    Did you also schedule the event before the data-import?
    And I think your FormOID is not correct, as it should be a version, not the mother-version. And I think you must remove the OpenClinica namespace for the status of the form, so that would be not
    FormData FormOID="F_HEPATITISCRE_CASTELLANO" OpenClinica:Status="complete"
    FormData FormOID="F_HEPATITISCRE_CASTELLANO_V1" Status="complete"
  • Snoopy76Snoopy76 Posts: 18
    Thanks for your comment.

    Finallly I solved it as issues with my format, but I have been so many tests that I cannot my finger on what was wrong in the code I posted.
Sign In or Register to comment.