Invalid use of Domain attribute

May 31, 2018

Hi, 

I am getting this wired error within pinnacle 21 as Invalid use of Domain attribute, where the value of Domain, Dataset is ADSL, ADSL. Can someone help with this error and how to fix it. 

 

Thank you, 

Aadesh.

Forums

The "Domain" attribute on "ItemGroupDef" is only allowed for the case of SDTM and SEND. It should not be used in the case of ADaM (ADaM does not have domains, only datasets).
See the Define-xml 2.0 specification page 68: "Use: Conditional: Required in the context of a regulatory submission in Define-XML for SDTM and SEND. Not applicable for ADaM"

Jozef Aerts
Define-XML Development Team
and CDISC Define-XML Trainer

I am using ADaM 1.0 as the standard and itemgroupdef.

   def:StandardName="ADaM-IG"
                       def:StandardVersion="1.0">

     <ItemGroupDef OID="IG.ADSL" Domain="ADSL" Name="ADSL" Repeating="No" IsReferenceData="No"
                       SASDatasetName="ADSL"
                       Purpose="Analysis"
                       def:Structure="One observation per subject"
                       def:Class="SUBJECT LEVEL ANALYSIS DATASET"
                       def:ArchiveLocationID="LF.ADSL"
                       def:CommentOID="COM.ADSLSASCODE">

somehow it still shows up. 

Again,

The "Domain" attribute is not allowed for ADaM datasets.
So if you remove Domain="ADSL" on the "ItemGroupDef" line, the error should disappear.
If necessary, use a simple editor like NotePad++.

Jozef Aerts
Define-XML Development Team
and CDISC Define-XML Trainer

Hi Aadesh, 

Yes, a concept of "Domain" is a part of SDTM model. It is not applicable in ADaM.

In addition to short diagnostic Message as "Invalid use of Domain attribute", look for more details in Description of the rule as "For ADaM submission data (where def:StandardName is 'ADaM-IG'), Domain attribute is not applicable and must not be included in Define.xml".

You can find this info on the last tab of your P21 Community validation report. Note, that the first validation message in a report has a direct link (Pinnacle 21 ID or Publisher ID) to rule description.

Also, this information is available online in our Rules Browser: https://www.pinnacle21.com/validation-rules/define-xml

Regards, 

Sergiy

 

Here is your corrected code without Domain attribute:

  def:StandardName="ADaM-IG"
                       def:StandardVersion="1.0">

     <ItemGroupDef OID="IG.ADSL" Name="ADSL" Repeating="No" IsReferenceData="No"
                       SASDatasetName="ADSL"
                       Purpose="Analysis"
                       def:Structure="One observation per subject"
                       def:Class="SUBJECT LEVEL ANALYSIS DATASET"
                       def:ArchiveLocationID="LF.ADSL"
                       def:CommentOID="COM.ADSLSASCODE">