FHIR Chat · CQL or fhirPath for Group characteristics · implementers

Stream: implementers

Topic: CQL or fhirPath for Group characteristics


view this post on Zulip Rob Dingwell (Apr 01 2020 at 18:13):

Curious to if anyone has used fhirPath or CQL as a means to define the membership of a group or have any pointers as to how that might be done.

view this post on Zulip Bryn Rhodes (Apr 02 2020 at 04:34):

Here's an example using the cqf-expression extension:

{
  "resourceType": "Group",
  "id": "example-group",
  "type": "person",
  "actual": false,
  "characteristic": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-expression",
          "valueExpression": {
            "language": "text/cql",
            "expression": "exists [Condition: Diabetes]"
          }
        }
      ],
      "exclude": false
    }
  ]
}

view this post on Zulip Rob Dingwell (Apr 02 2020 at 11:37):

I suspected there may have already been an extension created for this. Thanks @Bryn Rhodes .


Last updated: Apr 12 2022 at 19:14 UTC