eHealth Infrastructure (v2020.2)

search-measurements

OPERATION: search-measurements

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-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 ProcedureRequest).

"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

UseNameCardinalityTypeBindingDocumentation
INpatient0..1Reference
INepisodeOfCare0..1Reference
INdevice0..1Reference
INperiod1..1Period
INbased-on0..*Reference
OUTbundle0..1Bundle