eHealth Infrastructure - Local Development build (v2.5.0). See the Directory of published versions
Official URL: https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-search-measurements | Version: 2.5.0 | |||
Active as of 2023-02-09 | Computable Name: search-measurements |
The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.
device: Find resource(s) referring the specified device - Reference(eHealth Device | eHealth DeviceMetric). |
_tag: When specified, resource(s) must have at least one of the specified tags in meta data - for instance a Coding(ehealth-system CodeSystem) or on token form: http://ehealth.sundhed.dk/cs/ehealth-system | xa. Note that the _tag functions as an optional filter, not as a selection criteria in the way the other parameters work. |
“period” must always be specified.
Additionally at least “patient” or “episodeOfCare” must be specified.
The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters.
Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources.
If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle.
Related resources are the set of resources created by a single invocation of the submit-measurement operation.
URL: [base]/$search-measurements
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
IN | patient | 0..1 | Reference | Find resource(s) referring the specified patient - Reference(eHealth Patient). | |
IN | episodeOfCare | 0..1 | Reference | Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare) | |
IN | device | 0..1 | Reference | Find resource(s) referring the specified device - Reference(eHealth Device) | |
IN | period | 1..1 | Period | Resource(s) must have either an instant or time period within or overlapping the given period. | |
IN | based-on | 0..* | Reference | Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest) | |
IN | _tag | 0..* | Coding | Search for resources which have the given tag | |
OUT | bundle | 0..1 | Bundle |