eHealth Infrastructure
3.1.0 - release

This page is part of the FUT Infrastructure (v3.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

OperationDefinition: Search measurements

Official URL: https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-search-measurements Version: 3.1.0
Active as of 2024-07-01 Computable Name: search-measurements

The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.

Parameter description

  • patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).
  • episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).
  • device: Find resource(s) referring the specified device - Reference(eHealth Device eHealth DeviceMetric).
  • period: Resource(s) must have either an instant or time period within or overlapping the given period. The used instant/time period varies with resource as follows: Element effective for eHealth Observation; Element authored for eHealth QuestionnaireResponse; Element occurrence for eHealth Media.
  • based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest).
  • _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.

Output description

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.

Generated Narrative: OperationDefinition -s-search-measurements

URL: [base]/$search-measurements

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INpatient0..1Reference

Find resource(s) referring the specified patient - Reference(eHealth Patient).

INepisodeOfCare0..1Reference

Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare)

INdevice0..1Reference

Find resource(s) referring the specified device - Reference(eHealth Device)

INperiod1..1Period

Resource(s) must have either an instant or time period within or overlapping the given period.

INbased-on0..*Reference

Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest)

IN_tag0..*Coding

Search for resources which have the given tag

OUTbundle0..1Bundle