cdisc-org / cdisc-rules-engine

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

ISS-427: Engine detect include special purpose #458

Closed nhaydel closed 1 year ago

nhaydel commented 1 year ago

This PR adds logic in the engine for handling when an included class is not one of the GENERAL OBSERVATIONS classes. It does this by checking library data and searching for the domain in each class.

Steps to test:

  1. Write a rule that operates on a Special Purpose domain
  2. Ensure that rule specifies that the SPECIAL PURPOSE class and at least one other GENERAL OBSERVATIONS class is included
  3. Run the rule and verify that it runs on the appropriate datasets