cessda / cessda.metadata.profiles

Contains DDI Profiles that are used by the CESSDA Metadata Validator Tool
Other
0 stars 0 forks source link

CDC DDI-C: Add series information to the study records in CDC #157

Closed katja-moilanen closed 1 month ago

katja-moilanen commented 4 months ago

https://github.com/cessda/cessda.cdc.versions/issues/559

katja-moilanen commented 4 months ago

multilingual DDI-C 2.5 and 2.6

    <!--****************************************************************************************-->
    <!-- STUDY GROUP/SERIES INFORMATION -->
    <!--****************************************************************************************-->
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/@URI" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: URI to the study group (series) description page in the SPs web page</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.4.2 Study Group Description URI</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
   </pr:Used>
   <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/@xml:lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the whole serStmt OR the URI to the study group (series) description page in the SPs web page. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
            <r:Content>CMM_Mapping: None</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serName" isRequired="false">
         <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The name of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.3 Study Group Name</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serName/@xml:lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'serName' element is present.</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the name of the series. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
            <r:Content>CMM_Mapping: 10.3.1 Language of the Study Group Name</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serInfo" isRequired="false">
         <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The description of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.4 Study Group Description</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serInfo/@xml:lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'serInfo' element is present.</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the description of the series. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
            <r:Content>CMM_Mapping: 10.3.1 Language of the Study Group Description</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>
katja-moilanen commented 3 months ago

This is CDC priority 2024

katja-moilanen commented 1 month ago

multilingual DDI-C 1.2.2

    <!--****************************************************************************************-->
    <!-- STUDY GROUP/SERIES INFORMATION -->
    <!--****************************************************************************************-->
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/@URI" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: URI to the study group (series) description page in the SPs web page</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
        <r:Content>CMM_Mapping: 10.4.2 Study Group Description URI</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
   <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/@xml-lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the whole serStmt OR the URI to the study group (series) description page in the SPs web page. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
        <r:Content>CMM_Mapping: None</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serName" isRequired="false">
         <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The name of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.3 Study Group Name</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serName/@xml-lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'serName' element is present.</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the name of the series. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
            <r:Content>CMM_Mapping: 10.3.1 Language of the Study Group Name</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serInfo" isRequired="false">
         <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The description of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.4 Study Group Description</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serInfo/@xml-lang" isRequired="false">
        <r:Description>
            <r:Content>Required: Mandatory if 'serInfo' element is present.</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: Language of the description of the series. ISO 639-1 codes are strongly encouraged
                to be used.</r:Content>
            <r:Content>CMM_Mapping: 10.3.1 Language of the Study Group Description</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content>
                <![CDATA[
                <Constraints>
                    <MandatoryNodeIfParentPresentConstraint/>
                </Constraints>
                ]]>
            </r:Content>
        </pr:Instructions>
    </pr:Used>
katja-moilanen commented 1 month ago

monolingual DDI-C 1.2.2, 2.5, 2.6

    <!--****************************************************************************************-->
    <!-- STUDY GROUP/SERIES INFORMATION -->
    <!--****************************************************************************************-->
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/@URI" isRequired="false">
        <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Attribute</r:Content>
            <r:Content>Usage: URI to the study group (series) description page in the SPs web page</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.4.2 Study Group Description URI</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serName" isRequired="false">
         <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The name of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.3 Study Group Name</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>
    <pr:Used xpath="/codeBook/stdyDscr/citation/serStmt/serInfo" isRequired="false">
     <r:Description>
            <r:Content>Required: Optional</r:Content>
            <r:Content>ElementType: Content element</r:Content>
            <r:Content>ElementRepeatable: Yes</r:Content>
            <r:Content>Usage: The description of the study group / series.</r:Content>
            <r:Content>CDC_UI_Label: Series</r:Content>
            <r:Content>CMM_Mapping: 10.4 Study Group Description</r:Content>
        </r:Description>
        <pr:Instructions>
            <r:Content><![CDATA[
            <Constraints>
                <OptionalNodeConstraint/>
            </Constraints>
            ]]></r:Content>
        </pr:Instructions>
    </pr:Used>