Open DiTo97 opened 6 months ago
Any pointers on the error?
odmlib does not yet support ODM v2.0. That said, I'll take a look at the example and will let you know what's causing the problem.
I had a quick look at the example. The code ran for me after I:
I had a quick look at the example. The code ran for me after I:
- moved the ItemGroupRef and WorkFlowRef classes before the StudyEventDef class in odmlib/odm_2_0/model.py
- added "2.0" to ODM.ODMVersion in value_set.py
Thanks a lot, @lexjansen.
I will test it out with those modifications later and see if it works as expected; will report back!
@lexjansen, error seems solved in terms of not raising an exception, but not in terms of content.
I am not sure if you have tried to read the content of the loaded ODM v2.0 study trial, but says it is empty (no studies), while the example XML definition clearly contains a study definition inside. I would say, we are still halfway there.
@DiTo97 That's good. But like Sam mentioned, the current odmlib is based on an early draft version of the ODM v2.0 schema. The example you took is based on the final schema. These changes just solved the error. I have not looked further,
Hello,
any idea why the following error pops up?
where
example.xml
is the provided example for retrieval from FHIR in ODM v2.0.