Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2461

FIWARE.Request.Tech.Data.CEP.Different entities and rules

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Dear Tali,

      We are working with a medical project involves the usage of CEP to check patient data against certain rules and produce an event when this rules are satisfied.

      The question is for different patients , Do we need to have multiple rule files (one definition file for each patient) and upload them and activate them each time we need to check one patient data or there are better solution that would allow us to check different patients for different rules in the same definition file ?

      Example:
      Patient A, Heart rate >100 ---> CEP --> Produce event
      Patient B, Blood pressure >120 ---> CEP --> Produce event

      Best Regards,

      Ahmed Sadek

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Ahmed Sadek <Ahmed.Sadek@acreo.se>]

        Activity

        fw.ext.user FW External User created issue -
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        mev Manuel Escriche made changes -
        Assignee Tali Yatzkar Haham [ tali ]
        TALI Fabiana Fournier made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        TALI Fabiana Fournier added a comment -

        Dear Ahmed,

        Yes, you can use the same definition file for different patients.
        There are several ways to do it.
        One simple option would be to add to the current condition a condition over the patient identity. This assumes, you have a way to identify which patients need which rules.

        Example:
        Rule1: e1.HeartRate >100 && e1.patientName="A" ---> CEP --> Produce event
        Rule2: e1.BloodPressure >120 && e1.patientName="B" ---> CEP --> Produce event

        Or:
        Rule1: e1.HeartRate >100 && e1.group="A" ---> CEP --> Produce event
        Rule2: e1.BloodPressure >120 && e1.group="B" ---> CEP --> Produce event

        Hope that helped,
        Best regards,
        Tali

        Show
        TALI Fabiana Fournier added a comment - Dear Ahmed, Yes, you can use the same definition file for different patients. There are several ways to do it. One simple option would be to add to the current condition a condition over the patient identity. This assumes, you have a way to identify which patients need which rules. Example: Rule1: e1.HeartRate >100 && e1.patientName="A" ---> CEP --> Produce event Rule2: e1.BloodPressure >120 && e1.patientName="B" ---> CEP --> Produce event Or: Rule1: e1.HeartRate >100 && e1.group="A" ---> CEP --> Produce event Rule2: e1.BloodPressure >120 && e1.group="B" ---> CEP --> Produce event Hope that helped, Best regards, Tali
        TALI Fabiana Fournier made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        TALI Fabiana Fournier made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        TALI Fabiana Fournier made changes -
        Summary [Fiware-tech-help] CEP Proton- Help with different entities and different rules FIWARE.Request.Lab.Data.CEP.Different entities and rules
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Data.CEP.Different entities and rules FIWARE.Request.Tech.Data.CEP.Different entities and rules
        mev Manuel Escriche made changes -
        Sender Email Ahmed.Sadek@acreo.se
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5d 8h 21m 1 Fabiana Fournier 12/Apr/15 2:59 PM
        In Progress In Progress Answered Answered
        8m 20s 1 Fabiana Fournier 12/Apr/15 3:08 PM
        Answered Answered Closed Closed
        5m 49s 1 Fabiana Fournier 12/Apr/15 3:14 PM

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: