mdsol / rwslib

Provide a (programmer) friendly client library to Rave Web Services (RWS).
MIT License
31 stars 13 forks source link

rwslib API endpoint to send the audit logs to rave #122

Closed vagarwal77 closed 3 years ago

vagarwal77 commented 3 years ago

We have a use case to push eCRF audit logs from application to Rave.

Is there any rwslib API endpoint to send the audit logs to rave?

isparks commented 3 years ago

You can use PostClinicalData:

https://rwslib.readthedocs.io/en/latest/post_clinical_data.html

And include AuditRecords:

https://rwslib.readthedocs.io/en/latest/classes_builders.html?highlight=AuditRecord#medidata-extensions-to-odm-modm-builders

But I can't say I have any experience of doing this. I am not sure if you can push only AuditRecords or if you have to push changes to the data as well as the audit records. And sorry, I don't have any example. @rsayer-mdsol might be able to tell you more.

glow-mdsol commented 3 years ago

I can confirm this works as documented, closing