Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When transforming from a PHMR document to a FHIR representation, the goal is to preserve as much information as possible and there are no hard requirements for validity for of the produced FHIR resources. When it is not possible to translate specific data in the PHMR document to FHIR, an issue describing the situation or missing information is added to a FHIR OperationOutcome resource included in the return Bundle. Except for cases where it is not possible to translate the measurement values. In these cases the system throws an error and aborts the transformation.

The situations where an error is thrown and the transformation is aborted:

Situation

Error message

A measurement with type Observation Media is present

Measurement was of media type. This was not translated to an observation since it is not supported in FHIR

A measurement range with more than 7 decimals is present

Could not transform measurement with reference range Low: %s and High: %s since we cannot correctly translate more than 7 decimals.

...