eHealth Infrastructure
3.0.0 - release

eHealth Infrastructure - Local Development build (v3.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: Search measurements

Official URL: https://measurement.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-search-measurements Version: 3.0.0
Active as of 2024-05-16 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.

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