Skip to content
New issue

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

Add total result count for FHIR query (+Patient, Observation, and Procedure) #42

Merged

Conversation

rcdilorenzo
Copy link
Contributor

No description provided.

**query,
"limit": [
{"type": "number", "value": 0},
{"type": "number", "value": 1},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little confused about these limit objects. How are they applied to the query?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I'm just getting a count, I limit the query to return one item. It's definitely a workaround for the FSS. If you or @tdstein come up with something different (or know of an existing API), please let me know. I'll keep it here for now. It'll really just be used for a quick numeric in analysis.

Add phc.easy.Procedures and refactor Patient to use FHIR DSL
Base automatically changed from add-procedures-to-easy-module to add-progress-to-query-for-batches July 7, 2020 16:21
@rcdilorenzo rcdilorenzo force-pushed the add-progress-to-query-for-batches branch from 8d5ae83 to 80b61dd Compare July 7, 2020 16:46
Base automatically changed from add-progress-to-query-for-batches to add-first-pass-observations-to-easy-module July 7, 2020 16:50
@mjtieman mjtieman self-requested a review July 7, 2020 19:40
@mjtieman mjtieman self-requested a review July 7, 2020 19:41
@rcdilorenzo rcdilorenzo merged commit b6199c5 into add-first-pass-observations-to-easy-module Jul 8, 2020
@rcdilorenzo rcdilorenzo deleted the add-hit-count-for-data branch July 8, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants