From f8d88f1325976cefcbf3ad906845ecd0d4754725 Mon Sep 17 00:00:00 2001 From: gerrycampion <85252124+gerrycampion@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:18:02 -0400 Subject: [PATCH] RELREC documentation (#201) --- docs/match_datasets.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/docs/match_datasets.md b/docs/match_datasets.md index 0002e00..81525e8 100644 --- a/docs/match_datasets.md +++ b/docs/match_datasets.md @@ -55,3 +55,45 @@ Match Datasets: - USUBJID Is Relationship: Y ``` + +## RELREC Relationship + +Allows for joining datasets with parent datasets using conditions specified in RELREC dataset + +> Condition: Related record present in parent domain dataset + +> Rule: FAOBJ in (--TERM, --TRT, --DECOD) + +```yaml +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: __ +Outcome: + Message: + Related record is present in the parent domain dataset and FAOBJ is not + in (--TERM, --TRT, --DECOD) + Output Variables: + - FAOBJ + - RELREC.__TERM + - RELREC.__TRT + - RELREC.__DECOD +Rule Type: Record Data +Scope: + Classes: + Include: + - FINDINGS + Domains: + Include: + - FA +```