cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
48 stars 13 forks source link

Relrec merging #543

Closed gerrycampion closed 1 year ago

gerrycampion commented 1 year ago

Allows Match Datasets to use match information provided in a relrec.

Example given in test data and in attached data. In attached data, you can see a sample rule, test data, and result (with one negative result). CG0174.zip

# Variable: FAOBJ
# Condition: Related record present in parent domain dataset
# Rule: FAOBJ in (--TERM, --TRT, --DECOD)
Check:
  all:
    - name: FAOBJ
      operator: not_equal_to
      value: RELREC.__TERM
    - name: FAOBJ
      operator: not_equal_to
      value: RELREC.__TRT
    - name: FAOBJ
      operator: not_equal_to
      value: RELREC.__DECOD
Match Datasets:
  - Name: RELREC
    Wildcard: __