Strange mapping in CIEL

I happened to be looking into blood pressure in CIEL and I noticed that systolic blood pressure (5085) is mapped as both BROADER-THAN and NARROWER-THAN LOINC 8480-6. The same applies to diastolic blood pressure (5085) and LOINC 8462-4, which seems a bit odd.

@akanter Is this intentional?

1 Like

I’ll bet this is a bug related to changes not being tracked properly in OCL. This is definitely not intentional, and I believe the correct answer is Broader-than. @burke

1 Like

Let’s have a look at the JSON dump for CIEL v2020-08-22…

$ cat openmrs_concepts_20200822.json | jq -s \
  'map(select(.from_concept_url=="/orgs/CIEL/sources/CIEL/concepts/5085/")) | map({"source":.to_source_url,"code":.to_concept_code,"type":.map_type})'
[
  {
    "source": "/orgs/AMPATH/sources/AMPATH/",
    "code": "5085",
    "type": "SAME-AS"
  },
  {
    "source": "/orgs/IHTSDO/sources/SNOMED-CT/",
    "code": "271649006",
    "type": "SAME-AS"
  },
  {
    "source": "/orgs/OpenMRS/sources/org.openmrs.module.mdrtb/",
    "code": "SYSTOLIC BLOOD PRESSURE",
    "type": "SAME-AS"
  },
  {
    "source": "/orgs/PIH/sources/PIH/",
    "code": "5085",
    "type": "SAME-AS"
  },
  {
    "source": "/orgs/PIH/sources/PIH-Malawi/",
    "code": "5085",
    "type": "SAME-AS"
  },
  {
    "source": "/orgs/Regenstrief/sources/LOINC/",
    "code": "8480-6",
    "type": "BROADER-THAN"
  }
]

So, it looks like @akanter is correct, this is an example of Unhandled CIEL mapping updates/deletions (#302) where deleted mappings aren’t getting communicated to OCL, leaving the deleted mappings in OCL. And the winner is, in fact, BROADER-THAN. Apparently the NARROWER-THAN mapping is an example of a mapping that was deleted in CIEL, but not (yet) deleted in OCL.