mdsol / rwslib

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

Retrieving incremental ODM dataset does not work #125

Closed filipcecha closed 3 years ago

filipcecha commented 3 years ago

Hello,

when making a GET request to https://{host}/RaveWebServices/studies/{study-oid}/datasets/{regular-or-raw}[/{form-oid}][?{query-string-parameters}] with start query param the response is a This service is not implemented [RWS00140]

Does study have to be configured in some particular way to support incremental requests ?

isparks commented 3 years ago

I believe in order for incremental pulls to work the Clinical Views have to be set to "Include Inactive".

image

Unless you do that, the system can't work out if records have been inactivated and when because inactivated records don't appear in the underlying clinical views.

But the downside of setting that value is that you now get a new column in the views which indicate whether a record is active or not. This can really confuse your SAS programmers if they don't know about filtering out the inactive records so you want to be careful about when you use this.

filipcecha commented 3 years ago

@isparks thank you for super fast response :) ... I will check it and get back to you in case of some further questions :)