{"action":"created","issue":{"url":"https://api.github.com/repos/FHIR/fhir.js/issues/120","repository_url":"https://api.github.com/repos/FHIR/fhir.js","labels_url":"https://api.github.com/repos/FHIR/fhir.js/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/FHIR/fhir.js/issues/120/comments","events_url":"https://api.github.com/repos/FHIR/fhir.js/issues/120/events","html_url":"https://github.com/FHIR/fhir.js/issues/120","id":354709035,"node_id":"MDU6SXNzdWUzNTQ3MDkwMzU=","number":120,"title":"gte and lte do not generate DateRangeParam query","user":{"login":"col-panic","id":1679857,"node_id":"MDQ6VXNlcjE2Nzk4NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1679857?v=4","gravatar_id":"","url":"https://api.github.com/users/col-panic","html_url":"https://github.com/col-panic","followers_url":"https://api.github.com/users/col-panic/followers","following_url":"https://api.github.com/users/col-panic/following{/other_user}","gists_url":"https://api.github.com/users/col-panic/gists{/gist_id}","starred_url":"https://api.github.com/users/col-panic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/col-panic/subscriptions","organizations_url":"https://api.github.com/users/col-panic/orgs","repos_url":"https://api.github.com/users/col-panic/repos","events_url":"https://api.github.com/users/col-panic/events{/privacy}","received_events_url":"https://api.github.com/users/col-panic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-28T12:29:59Z","updated_at":"2018-08-31T09:17:25Z","closed_at":"2018-08-31T09:17:25Z","author_association":"NONE","body":"I have the following server side method\r\n\r\n````\r\n\t@Search\r\n\tpublic List<Appointment> findAppointmentsByDate(\r\n\t\t\t@RequiredParam(name = Appointment.SP_DATE) DateRangeParam dateParam) {\r\n````\r\n\r\nsee https://github.com/elexis/elexis-server/blob/2175592a4922fdb1b3d238fedc8f549077d2b7c9/bundles/es.fhir.rest.core/src/es/fhir/rest/core/resources/AppointmentResourceProvider.java#L69-L70\r\n\r\na query with\r\n\r\n```\r\nsmart.api.search({ type: \"Appointment\", query: { date: {$gt: startDate, $lt: endDate} } })\r\n````\r\n\r\ndoes work, while the same query with\r\n\r\n```\r\nsmart.api.search({ type: \"Appointment\", query: { date: {$gte: startDate, $lte: endDate} } })\r\n````\r\nis answered by the server with\r\n\r\n`Failure during REST processing: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Can not have multiple date range parameters for the same param without a qualifier`\r\n\r\nWhere do I have to look for the error here? On client or server side?!"},"comment":{"url":"https://api.github.com/repos/FHIR/fhir.js/issues/comments/417605467","html_url":"https://github.com/FHIR/fhir.js/issues/120#issuecomment-417605467","issue_url":"https://api.github.com/repos/FHIR/fhir.js/issues/120","id":417605467,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzYwNTQ2Nw==","user":{"login":"col-panic","id":1679857,"node_id":"MDQ6VXNlcjE2Nzk4NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1679857?v=4","gravatar_id":"","url":"https://api.github.com/users/col-panic","html_url":"https://github.com/col-panic","followers_url":"https://api.github.com/users/col-panic/followers","following_url":"https://api.github.com/users/col-panic/following{/other_user}","gists_url":"https://api.github.com/users/col-panic/gists{/gist_id}","starred_url":"https://api.github.com/users/col-panic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/col-panic/subscriptions","organizations_url":"https://api.github.com/users/col-panic/orgs","repos_url":"https://api.github.com/users/col-panic/repos","events_url":"https://api.github.com/users/col-panic/events{/privacy}","received_events_url":"https://api.github.com/users/col-panic/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T09:17:25Z","updated_at":"2018-08-31T09:17:25Z","author_association":"NONE","body":"I manually patched my installation, and could verify that with these changes the code works as expected! A minor release would be very much welcomed!"}}
{"actor":{"display_login":"col-panic"}}