TERM_MAPPING

For context see DV_CODED_TEXT

FHIRpath Cardinality Comment openEHR Cardinality Comment

-

-

match

1..1

hard coded to =, other operators not mappable to FHIR

-

-

purpose

0..1

coding

0..1

target

1..1

see CODE_PHRASE

Example:

{
  "mappings": [
    {
      "_type": "TERM_MAPPING",
      "match": "=",
      "target": {
        "_type": "CODE_PHRASE",
        "terminology_id": {
          "_type": "TERMINOLOGY_ID",
          "value": "http://snomed.info/sct"
        },
        "code_string": "386661006"
      }
    }
  ]
}

To:

"coding":  [
  {
    "system": "http://loinc.org",
    "code": "LP74849-8",
    "display": "Fever"
  }
}