Last active
September 11, 2019 16:04
-
-
Save Virnkord/b947554544b964c619b8465ee1344d15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.aidbox.app/basic-concepts/search-1/_count-and-_page | |
- id: get-one-patient-from-second-response-page | |
GET: /Patient?_count=1&_page=2 | |
match: | |
status: 200 | |
body: | |
entry: | |
- resource: | |
id: pt-2 | |
resourceType: Patient | |
name: [given: [Anna]] | |
birthDate: '1994-08-07' | |
address: [{city: Kolpino}] | |
text: | |
status: additional | |
div: Unknown | |
# https://docs.aidbox.app/basic-concepts/search-1/_sort | |
- id: get-patient's-ids-sorted-in-reverse-order | |
GET: /Patient?_sort=-id&_elements=id | |
match: | |
status: 200 | |
body: | |
entry: | |
- resource: | |
id: pt-3 | |
resourceType: Patient | |
- resource: | |
id: pt-2 | |
resourceType: Patient | |
- resource: | |
id: pt-1 | |
resourceType: Patient | |
# https://docs.aidbox.app/basic-concepts/search-1/_total-or-_countmethod | |
- id: get-patients-list-without-running-count-query | |
GET: /Patient?_total=none&_count=1&_elements=id,name.given | |
match: | |
status: 200 | |
body: | |
entry: | |
- resource: | |
id: pt-1 | |
resourceType: Patient | |
name: [{given: [Vlad]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Item _list is in progress now.