We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://localhost:3000/4_0_0/Patient?_count=2
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "internal", "details": { "text": "Unexpected: Argument \"options\" must not be function" } } ] }
The text was updated successfully, but these errors were encountered:
Same message
Sorry, something went wrong.
@alejosv try changing the query in search function like this. I was able to run this using below code.
collection.find(query).toArray((err, data) => { if (err) { logger.error('Error with Patient.search: ', err); return reject(err); } console.log(data); Promise.resolve(data).then((patients) => { patients = patients.map(element => new Patient(element)); resolve(patients); }); });
No branches or pull requests
http://localhost:3000/4_0_0/Patient?_count=2
The text was updated successfully, but these errors were encountered: