mapkon / oc-conversion-tools

openxdata openclinica form conversion tools
code.openxdata.org
Other
8 stars 4 forks source link

Add section ItemDetails meta data to the returned odm #100

Closed mapkon closed 12 years ago

mapkon commented 12 years ago

Section meta data should be added to the ItemDetails so we can use it to re create pages in the xform that mimick openclinica pages. The ItemDetails should contain sectionTitle and sectionLabel at the very least.

mapkon commented 12 years ago

SectionTitle not added with this commit: https://trac.openxdata.org/changeset/5987

tomhickerson commented 12 years ago

Hi Mark,

I've added the Section Title, but in many cases this is the same as the label. Please re-open this issue if you think it has not been fufilled.

Please see the example below:

<ItemDef OID="I_CCAC_CCA_GS_WEIGHTL" Name="CCA_GS_WEIGHTL" DataType="integer" Length="1" SASFieldName="CCA_GS_W" Comment="Weight loss" OpenClinica:FormOIDs="F_CCAC_2,F_CCAC1">
<Question OpenClinica:QuestionNumber="Q6
">
<TranslatedText>
Weight loss
</TranslatedText>
</Question>
<CodeListRef CodeListOID="CL_259"/>
<OpenClinica:ItemDetails ItemOID="I_CCAC_CCA_GS_WEIGHTL">
<OpenClinica:ItemPresentInForm FormOID="F_CCAC_2" ColumnNumber="1" PHI="No" ShowItem="Yes">
<OpenClinica:LeftItemText>Weight loss</OpenClinica:LeftItemText>
<OpenClinica:SectionLabel>CCA</OpenClinica:SectionLabel>
<OpenClinica:SectionTitle>CCA</OpenClinica:SectionTitle>
<OpenClinica:ItemResponse ResponseType="single-select"/>
</OpenClinica:ItemPresentInForm>
<OpenClinica:ItemPresentInForm FormOID="F_CCAC_1" ColumnNumber="1" PHI="No" ShowItem="Yes">
<OpenClinica:LeftItemText>Weight loss</OpenClinica:LeftItemText>
<OpenClinica:SectionLabel>CCA</OpenClinica:SectionLabel>
<OpenClinica:SectionTitle>CCA</OpenClinica:SectionTitle>
<OpenClinica:ItemResponse ResponseType="single-select"/>
</OpenClinica:ItemPresentInForm>
</OpenClinica:ItemDetails>
</ItemDef>