Practitioner code system query

Hello,

I’m trying to get a list of records which have changed since a particular date. This is my post method query:

{
“resourceType”: “Parameters”,
“parameter”: [
{
“name”: “valueSet”,
“resource”: {
“resourceType”: “ValueSet”,
“compose”: {
“inactive”: true,
“include”: [

                {
                    "system": "https://digital.nhs.uk/services/organisation-data-service/CodeSystem/practitioner",
                    "filter": [
                        {
                            "property": "lastChangeDate",
                            "op": "=",
                            "value":  "2020-01-01"
                        }
                    ]
                }
            ]
        }
    }
},
{
    "name": "activeOnly",
    "valueBoolean": false
}

]
}

This returns a valid 200 http response and 0 records. I think I need to change the op value but I’ve tried using various operation such as ‘>’ and ‘gt’ and they all return error 400 bad request.

Could you advise what I’m doing wrong?

Thanks

I think I got this working. I left the OP field as = and added ‘gt’ to the value field as shown below.

Sorry we were not able to reply to you last week. Glad you got this sorted. We agree with your methodology - we queried our backend database and got the same practitioner record count with these parameters :slight_smile:

No problem and thanks for your help.