eHealth Infrastructure
3.4.0 - release  flag

This page is part of the FUT Infrastructure (v3.4.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

OperationDefinition: Invalidate / Retract Invalidation of a Measurement

Official URL: https://task.devtest.systematic-ehealth.com/fhir/OperationDefinition/ClinicalImpression-t-set-measurement-validity Version: 3.4.0
Active as of 2025-02-17 Computable Name: set-measurement-validity

This operation is used to invalidate or retract an invalidation of a Measurement.

Input

The input parameter is a ClinicalImpression resource with the following values:

  • status - The status of the ClinicalImpression must be completed.
  • investigation.item - Versioned reference to the Measurement that is to be invalidated or retracted.
  • investigation.item - Unversioned reference to the Measurement that is to be invalidated or retracted.
  • subject - Reference to the Patient .
  • episodeOfCare - Reference to the EpisodeOfCare that the Measurement is part of.
  • code - Should use MeasurementAssessment from http://ehealth.sundhed.dk/cs/clinicalimpression-codes.
  • finding.code - The finding code must be measurement-invalidated or measurement-invalidation-retracted.
  • decision - The decision code is required if finding.code is measurement-invalidated. The decision code must be invalidated-fulfills or invalidated-is-not-fulfillment.

    Output

    The operation returns the persisted ClinicalImpression:

  • clinicalImpression - The persisted ClinicalImpression resource with updated assessor values.

    Operation side effects

  • The operation will update the status of the Measurement that is being invalidated or has the invalidation retracted to entered-in-error or completed respectively.
  • The operation will update the status to entered-in-error for any previous invalidation or invalidation retraction ClinicalImpression for the referenced Measurement, indicating that the previous ClinicalImpression is no longer used to represent the validity of the Measurement. The operation performs a search for any existing ClinicalImpression in the measurement validity cycle, and does not rely on/update the previous field on the input ClinicalImpression. If the input ClinicalImpression is for invalidation retraction, there must exist a ClinicalImpression invalidating the Measurement.
  • The operation will add an additional investigation with the code item-modified, referencing the Measurement version after the patch has been applied.
  • The operation will set assessor values (assessor, assessorOrganization and assessorOther). If the user is of type PRACTITIONER, assessor and assessorOrganization will be set. If the user is of type PATIENT, assessorOther will be set`.

Generated Narrative: OperationDefinition ClinicalImpression-t-set-measurement-validity

URL: [base]/ClinicalImpression/$set-measurement-validity

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INclinicalImpression1..1ClinicalImpression