...
Patients can search for measurements by:
$search-measurement
Search on Observation
Search on Media
Search on QuestionnaireResponse
Practitioner
Practitioners can search for measurements by same methods as Patient, but restrictions apply:
Practitioner must be logged in using a CareTeam that, in generic terms, ”plays a role in the corresponding EpisodeOfCare or CarePlan”
Expand | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
title | $search.measurement exampleSearching measurements with $search-measurementPOST $search-measurement request body: Parameters available:
Combinations allow for:
Response: The response is a bundle of nested bundles that each contain a full set of related resources (Observation, Media, QuestionnaireResponse and Provenance) for a found measurement. If a QuestionnaireResponse is part of a bundle the Questionnaire it answers is also included in the bundle. Related resources are the set of resources created by a single invocation of the submit-measurement operation.
| ||||||||||||||||||
Expand | |||||||||||||||||||
Examples:Below example is from here: http://ehealth-documentation.s3-website-eu-west-1.amazonaws.com/latest/ig/POST_search-measurements.html#post-search-measurements Unlike a regular search operation which would be a GET request, the $search-measurement is a POST request to the URL:
The search parameters are sent by including them in the request body (below is a JSON example of a body):
The response will then contain a bundle of bundles with the found resources (Below is a JSON example of a return bundle):
|
Search on Observation
Expand | ||
---|---|---|
| ||
Searching for Observation |
...
title | Examples of Searching for ObservationsSome of the possible search parameters:
Response:
| ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expand | |||||||||||||||||||||||||||||||||||
Examples:Searching on Observations are done by use of a traditional GET request:
As an example one could perform searches like the following examples:
An example of a response on for a search could be:
|
Search on Media
Expand | ||
---|---|---|
| ||
Searching on Media |
...
title | Example of Searching for Media(s)Some of the possible search parameters:
Response:
| ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expand | |||||||||||||||||||||||||||||||
Examples:Searching on Medias are done by use of a traditional GET request:
As an example one could perform searches like the following examples:
An example of a response on for a search could be:
|
Search on QuestionnaireResponse
Expand | ||
---|---|---|
| ||
Searching for QuestionnaireResponse |
...
Some of the possible search parameters:
Response:
| ||||||||||||||||||||||||||||||||
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
Searching Examples:Searching on QuestionnaireResponses are done by use of a traditional GET request:
As an example one could perform searches like the following examples:
An example of a response on for a search could be:
|
Practitioner
Practitioners can search for measurements by same methods as Patient, but restrictions apply:
Practitioner must be logged in using a CareTeam that, in generic terms, ”plays a role in the corresponding EpisodeOfCare or CarePlan”