OHSUCMP / htnu18ig

Repository for Hypertension U18 grant's Implementation Guide
Apache License 2.0
2 stars 0 forks source link

Home BPs from COACH are being counted as Office BPs #133

Closed aeyates closed 2 years ago

aeyates commented 2 years ago

Home blood pressures entered in COACH are not being recognized as home readings by the CQL. It seems the CQL logic in only processing the extension when formatted like this:

    "extension": [
      {
        "url": "http://hl7.org/fhir/us/vitals/StructureDefinition/MeasurementSettingExt",
        "valueCoding": {
          "system": "http://snomed.info/sct",
          "code": "264362003"
        }
      }
    ]

COACH, however, is adding a display value:

  "extension": [
    {
      "url": "http://hl7.org/fhir/us/vitals/StructureDefinition/MeasurementSettingExt",
      "valueCoding": {
        "system": "http://snomed.info/sct",
        "code": "264362003",
        "display": "Home (environment)"
      }
    }
  ],

Modify the cql to be disregard display.