Special considerations

The following special considerations - and features - are handy to keep in mind when working with the FHIR Mapper.

log statement

FHIR Mapper supports logging with log, but it is a bit different from the specification:

  1. use log in the start source field
  2. enclose the log statement in double quotes "
  3. enclose plain text within the log statement in single quotes '
  4. concatenate values with +


src.patientName as s log"'patient name is ' + $this.patientName" -> tgt.name as t, t.text = s;

where/check statements

Enclose the where and check FHIRPath statements (documentation) in double quotes:

src.contact as s where "address.exists()" -> ...