Search for new patients

hello

I am interested in getting a list of patients that were created after a specific date using the PatientService of the api. Is that possible ? Or is there an alternative way of getting “new” patients rather than all patients ?

thanks in advance

Hi Charis,

The API doesn’t support this.

Writing the hibernate query for that is quite easy, if you’re already writing code.

Or you can use the Reporting module, and create a SqlCohortDefinition with the custom query, and then use this along with PatientDataDefinition and PersonDataDefinition to produce some output.

Thanks Darius for the response. I will try the hibernate query solution.

Ch.