I checked the Encounter that are getting returned and all them have period start date but does not have end date.
"period": {
"start": "2021-05-10T15:09:46.000Z"
},
then I made a query with date='gt2021-05-12T00:00:00.000Z' still it didn't work.
For the date param to work should both start and end date be there?
If that is the case. How should be go about retreiving the current encounter because it most probably will always be in progress and won't have end date.
Please help.